Update DropClient to always drop Connection

This commit is contained in:
teinarss
2021-08-31 17:29:33 +02:00
committed by reaperrr
parent 978de64903
commit db74f155bb

View File

@@ -1025,7 +1025,10 @@ namespace OpenRA.Server
var dropClient = LobbyInfo.Clients.FirstOrDefault(c1 => c1.Index == toDrop.PlayerIndex);
if (dropClient == null)
{
toDrop.Dispose();
return;
}
var suffix = "";
if (State == ServerState.GameStarted)