Merge pull request #5355 from Mailaender/missing-bot-slot-sync

Fixed closing slots not removing bots properly
This commit is contained in:
Paul Chote
2014-05-18 20:05:59 +12:00

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
{