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.
This commit is contained in:
Paul Chote
2013-11-09 16:30:32 +13:00
parent 20f88387b6
commit 142db86acd

View File

@@ -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());