mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 12:59:33 +00:00
(svn r10658) -Add: support for autosave_on_exit in the console, so dedicated servers can use it
This commit is contained in:
parent
045a51ce62
commit
8367e16809
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user