summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 34279bb52..f6f20b2cc 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -412,6 +412,10 @@ int chrif_sendmapack(int fd)
ShowStatus("Map sending complete. Map Server is now online.\n");
chrif_state = 2;
+ //If there are players online, send them to the char-server. [Skotlex]
+ if (!kick_on_disconnect)
+ send_users_tochar(-1, gettick(), 0, 0);
+
//Re-save any storages that were modified in the disconnection time. [Skotlex]
do_reconnect_storage();