summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index b0c20ed41..196687c24 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5133,6 +5133,9 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
return 0;
}
+ //Reset "can log out" tick.
+ if (battle_config.prevent_logout)
+ sd->canlog_tick = gettick() - battle_config.prevent_logout;
return 1;
}