Merge pull request #4095 from pchote/bogus-replay-fix
SyncInfo is only valid during the initial lobby phase. Fixes #3973.
This commit is contained in:
@@ -558,7 +558,7 @@ namespace OpenRA.Server
|
|||||||
|
|
||||||
public void SyncLobbyInfo()
|
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,
|
DispatchOrders(null, 0,
|
||||||
new ServerOrder("SyncInfo", lobbyInfo.Serialize()).Serialize());
|
new ServerOrder("SyncInfo", lobbyInfo.Serialize()).Serialize());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user