- bugfix when loading last game settings to retain player name
This commit is contained in:
parent
e4d524c181
commit
02fa995ce3
|
@ -3899,6 +3899,11 @@ void MenuStateCustomGame::KeepCurrentHumanPlayerSlots(GameSettings &gameSettings
|
||||||
gameSettings.setNetworkPlayerName(index,getHumanPlayerName());
|
gameSettings.setNetworkPlayerName(index,getHumanPlayerName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ControlType ctFile = static_cast<ControlType>(gameSettings.getFactionControl(index));
|
||||||
|
if(ctFile == ctHuman) {
|
||||||
|
gameSettings.setFactionControl(index,ctHuman);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user