mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators.
This commit is contained in:
parent
8316c4381f
commit
81d8e55c38
|
@ -1114,7 +1114,7 @@ static void DoAutosave()
|
|||
if (_networking) return;
|
||||
#endif /* PSP */
|
||||
|
||||
if (_settings_client.gui.keep_all_autosave && _local_company != COMPANY_SPECTATOR) {
|
||||
if (_settings_client.gui.keep_all_autosave) {
|
||||
GenerateDefaultSaveName(buf, lastof(buf));
|
||||
strecat(buf, ".sav", lastof(buf));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue