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