(svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it

This commit is contained in:
glx 2007-07-23 15:28:02 +00:00
parent 045a51ce62
commit 8367e16809
1 changed files with 2 additions and 0 deletions

View File

@ -1079,6 +1079,8 @@ DEF_CONSOLE_CMD(ConExit)
return true;
}
if (_game_mode == GM_NORMAL && _patches.autosave_on_exit) DoExitSave();
_exit_game = true;
return true;
}