1
0
Fork 0

(svn r24445) -Fix: Do not load order backups when loading a server-saved game in single player.

release/1.3
frosch 2012-07-29 16:45:56 +00:00
parent 5ce1971588
commit fcbe53d204
1 changed files with 3 additions and 2 deletions

View File

@ -282,10 +282,11 @@ void Load_BKOR()
SlObject(ob, GetOrderBackupDescription()); 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 * a previously saved-by-server savegame. There are
* no clients with a backup anymore, so clear it. */ * no clients with a backup anymore, so clear it. */
if (_networking && _network_server) { if (!_networking || _network_server) {
_order_backup_pool.CleanPool(); _order_backup_pool.CleanPool();
} }
} }