fix crash in server in StartGame if there are unvalidated connections

This commit is contained in:
Chris Forbes
2012-04-09 09:18:54 +12:00
parent f7fea5ffce
commit ab4c21f80c

View File

@@ -406,7 +406,7 @@ namespace OpenRA.Server
DispatchOrdersToClient( c, d.PlayerIndex, 0x7FFFFFFF, new byte[] { 0xBF } ); DispatchOrdersToClient( c, d.PlayerIndex, 0x7FFFFFFF, new byte[] { 0xBF } );
// Drop any unvalidated clients // Drop any unvalidated clients
foreach (var c in preConns) foreach (var c in preConns.ToArray())
DropClient(c); DropClient(c);
DispatchOrders(null, 0, DispatchOrders(null, 0,