mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r24445) -Fix: Do not load order backups when loading a server-saved game in single player.
This commit is contained in:
parent
432835ab07
commit
8d09070bb7
@ -282,10 +282,11 @@ void Load_BKOR()
|
||||
SlObject(ob, GetOrderBackupDescription());
|
||||
}
|
||||
|
||||
/* If we are a network server, then we just loaded
|
||||
/* Only load order-backups for network clients.
|
||||
* If we are a network server or not networking, then we just loaded
|
||||
* a previously saved-by-server savegame. There are
|
||||
* no clients with a backup anymore, so clear it. */
|
||||
if (_networking && _network_server) {
|
||||
if (!_networking || _network_server) {
|
||||
_order_backup_pool.CleanPool();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user