allow admin to kick player multiple times

This commit is contained in:
Mark Vejvoda 2013-05-26 04:01:01 +00:00
parent f84cf5c216
commit c1ca53f50d

View File

@ -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);