fixed server bug with readying

This commit is contained in:
Chris Forbes
2010-01-16 21:41:18 +13:00
parent 950a2acb0b
commit 88ae3ae5c2

View File

@@ -392,6 +392,8 @@ namespace OpenRA.Server
Console.WriteLine("Player @{0} is {1}",
conn.socket.RemoteEndPoint, client.State);
SyncLobbyInfo();
// start the game if everyone is ready.
if (conns.All(c => GetClient(c).State == Session.ClientState.Ready))
{