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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index f066b8f00..d709272be 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1035,6 +1035,10 @@ int map_quit(struct map_session_data *sd) {
chrif_save(sd);
storage_storage_save(sd);
+ //double connect bug fix by Valaris
+ if(sd->alive_timer)
+ delete_timer(sd->alive_timer,pc_alive_timer);
+
if( sd->npc_stackbuf && sd->npc_stackbuf != NULL)
free( sd->npc_stackbuf );