fix closing slots not removing bots properly

This commit is contained in:
Matthias Mailänder
2014-05-18 09:49:29 +02:00
parent d7c445b117
commit 1147a572da

View File

@@ -176,8 +176,10 @@ namespace OpenRA.Mods.RA.Server
if (occupant.Bot != null)
{
server.LobbyInfo.Clients.Remove(occupant);
server.SyncLobbyClients();
var ping = server.LobbyInfo.PingFromClient(occupant);
server.LobbyInfo.ClientPings.Remove(ping);
server.SyncClientPing();
}
else
{