forked from mirror/OpenTTD
(svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user