From bbdf862a9987fbd5f752a324c437adcf7035ba38 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 28 Jun 2006 01:00:31 +0000 Subject: - Map server will now resent the whole list of online characters to char-server on reconnect when the kick_on_disconnect setting is active. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7365 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/chrif.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/chrif.c') 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(); -- cgit v1.2.3-70-g09d2