From 4724734454f3296efd787ae3ba9e8ffb395ac30c Mon Sep 17 00:00:00 2001 From: Alli Date: Sat, 6 Feb 2010 20:08:19 +1300 Subject: [PATCH] missed Server.cs --- OpenRA.Server/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Server/Server.cs b/OpenRA.Server/Server.cs index 7834cd8669..7e825f62ec 100644 --- a/OpenRA.Server/Server.cs +++ b/OpenRA.Server/Server.cs @@ -268,7 +268,7 @@ namespace OpenRA.Server return false; } - if (lobbyInfo.Clients.Where( c => c != GetClient(conn) ).Any( c => c.SpawnPoint == spawnPoint )) //TODO: except 0 + if (lobbyInfo.Clients.Where( c => c != GetClient(conn) ).Any( c => (c.SpawnPoint == spawnPoint) && (c.SpawnPoint != 0) )) { SendChatTo( conn, "You can't be at the same spawn point as another player" ); return true;