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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 4e7223d11..cb3a3a0a9 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1057,7 +1057,7 @@ int map_quit(struct map_session_data *sd) {
//double connect bug fix by Valaris
if(sd->alive_timer) {
delete_timer(sd->alive_timer,pc_alive_timer);
- sd->alive_timer = 0;
+ sd->alive_timer = -1; // not 0, the server will assume it's still active
}
if( sd->npc_stackbuf && sd->npc_stackbuf != NULL) {