From c1ca53f50de45499840b4209c63bca0fca85c772 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 26 May 2013 04:01:01 +0000 Subject: [PATCH] allow admin to kick player multiple times --- source/glest_game/network/connection_slot.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/glest_game/network/connection_slot.cpp b/source/glest_game/network/connection_slot.cpp index ee676f524..1030bf880 100644 --- a/source/glest_game/network/connection_slot.cpp +++ b/source/glest_game/network/connection_slot.cpp @@ -1036,6 +1036,8 @@ void ConnectionSlot::update(bool checkForNewClients,int lockedSlotIndex) { int factionIndex = this->serverInterface->gameSettings.getFactionIndexForStartLocation(playerIndex); this->serverInterface->gameSettings.setFactionControl(factionIndex,ctNetwork); this->serverInterface->gameSettings.setNetworkPlayerName(factionIndex,this->name); + this->serverInterface->gameSettings.setNetworkPlayerStatuses(factionIndex,npst_None); + this->serverInterface->broadcastGameSetup(&this->serverInterface->gameSettings, true); this->setStartInGameConnectionLaunch(true);