More drop messages.

This commit is contained in:
Paul Chote
2011-01-15 13:56:52 +13:00
parent 2f31928a53
commit e3c090a201
2 changed files with 7 additions and 1 deletions

View File

@@ -129,7 +129,10 @@ namespace OpenRA.Mods.RA.Server
{
var occupantConn = server.conns.FirstOrDefault( c => c.PlayerIndex == occupant.Index );
if (occupantConn != null)
{
server.SendOrderTo(occupantConn, "ServerError", "Your slot was closed by the host");
server.DropClient(occupantConn);
}
}
server.SyncLobbyInfo();