- flash the remote admin player# in lobby to indicate they are the admin user

This commit is contained in:
Mark Vejvoda
2012-06-22 14:30:48 +00:00
parent 0f5cb29919
commit b08e04fa70
7 changed files with 46 additions and 4 deletions

View File

@@ -1296,6 +1296,8 @@ void ServerInterface::update() {
sendTextMessage(sMsg,-1, true,"");
this->gameSettings.setMasterserver_admin(slots[iFirstConnectedSlot]->getSessionKey());
this->gameSettings.setMasterserver_admin_faction_index(slots[iFirstConnectedSlot]->getPlayerIndex());
this->broadcastGameSetup(&this->gameSettings);
}
}