Fix a bug in Server

This commit is contained in:
penev92
2015-07-06 00:59:30 +03:00
parent b4c1625f1c
commit 0648b7edaa

View File

@@ -674,7 +674,7 @@ namespace OpenRA.Server
DropClient(c);
// Drop any players who are not ready
foreach (var c in Conns.Where(c => GetClient(c).IsInvalid))
foreach (var c in Conns.Where(c => GetClient(c).IsInvalid).ToArray())
{
SendOrderTo(c, "ServerError", "You have been kicked from the server!");
DropClient(c);