mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 16:45:08 +01:00
(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;
|
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
Block a user