Enable skirmish saves.
This commit is contained in:
@@ -934,10 +934,8 @@ namespace OpenRA.Server
|
|||||||
LobbyInfo.GlobalSettings.OrderLatency = 1;
|
LobbyInfo.GlobalSettings.OrderLatency = 1;
|
||||||
|
|
||||||
// Enable game saves for singleplayer missions only
|
// Enable game saves for singleplayer missions only
|
||||||
// TODO: Enable for skirmish once the AI supports state-restoration
|
|
||||||
// TODO: Enable for multiplayer (non-dedicated servers only) once the lobby UI has been created
|
// TODO: Enable for multiplayer (non-dedicated servers only) once the lobby UI has been created
|
||||||
LobbyInfo.GlobalSettings.GameSavesEnabled = !Dedicated && Map.Visibility == MapVisibility.MissionSelector &&
|
LobbyInfo.GlobalSettings.GameSavesEnabled = !Dedicated && LobbyInfo.NonBotClients.Count() == 1;
|
||||||
LobbyInfo.NonBotClients.Count() == 1;
|
|
||||||
|
|
||||||
SyncLobbyInfo();
|
SyncLobbyInfo();
|
||||||
State = ServerState.GameStarted;
|
State = ServerState.GameStarted;
|
||||||
|
|||||||
Reference in New Issue
Block a user