Force all players offline in sql when char-server starts
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7977 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -1249,6 +1249,10 @@ int mmo_char_sql_init(void) {
|
||||
//it will dc all off players
|
||||
//and send the loginserver the new state....
|
||||
|
||||
// Force all users offline in sql when starting char-server
|
||||
// (useful when servers crashs and don't clean the database)
|
||||
set_all_offline_sql();
|
||||
|
||||
ShowInfo("Finished initilizing.......\n");
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user