mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 19:52:25 +01:00
fixed "Reload Last Settings" on the headless server #84
Relaod still does not always work if some people are already connected. This makes trouble with network slots and slots in settings. In general #84 should be fixed with this.
This commit is contained in:
parent
405f327836
commit
62e70debe9
@ -4903,7 +4903,7 @@ void MenuStateConnectedGame::setupUIFromGameSettings(GameSettings *gameSettings,
|
||||
labelPlayerNames[slot].setEditable(false);
|
||||
}
|
||||
|
||||
if(i >= gameSettings->getFactionCount()) {
|
||||
if(i >= mapInfo.players) {
|
||||
if( gameSettings->getFactionControl(i) != ctNetworkUnassigned) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user