summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 30e766402..d7be8e5a7 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1671,6 +1671,9 @@ int map_quit(struct map_session_data *sd)
if( sd->bg_id )
bg_team_leave(sd,1);
+
+ pc_itemcd_do(sd,false);
+
npc_script_event(sd, NPCE_LOGOUT);
//Unit_free handles clearing the player related data,