- bugfix for mixed up username when changing map and human player's slot is changed.
This commit is contained in:
parent
8bcca7080f
commit
b897611a6b
|
@ -2740,8 +2740,10 @@ void MenuStateCustomGame::updateControlers(){
|
|||
}
|
||||
}
|
||||
|
||||
if(!humanPlayer){
|
||||
if(humanPlayer == false) {
|
||||
listBoxControls[0].setSelectedItemIndex(ctHuman);
|
||||
labelPlayerNames[0].setText("");
|
||||
labelPlayerNames[0].setText(getHumanPlayerName());
|
||||
}
|
||||
|
||||
for(int i= mapInfo.players; i < GameConstants::maxPlayers; ++i) {
|
||||
|
|
Loading…
Reference in New Issue