From 142db86acdccdb1b8721409f76c5584506bcae8b Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 9 Nov 2013 16:30:32 +1300 Subject: [PATCH] SyncInfo is only valid during the initial lobby phase. Fixes #3973. Existing broken replays can be fixed manually by removing the SyncInfo order at the end of the file. --- OpenRA.Game/Server/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Server/Server.cs b/OpenRA.Game/Server/Server.cs index babfd46cb9..841d2270ab 100644 --- a/OpenRA.Game/Server/Server.cs +++ b/OpenRA.Game/Server/Server.cs @@ -558,7 +558,7 @@ namespace OpenRA.Server public void SyncLobbyInfo() { - if (State != ServerState.GameStarted) /* don't do this while the game is running, it breaks things. */ + if (State == ServerState.WaitingPlayers) // Don't do this while the game is running, it breaks things! DispatchOrders(null, 0, new ServerOrder("SyncInfo", lobbyInfo.Serialize()).Serialize());