bugfix for index value used when switching maps for player in invalid index
This commit is contained in:
parent
e44170ea00
commit
8d8996c0ee
|
@ -1833,7 +1833,7 @@ void MenuStateConnectedGame::update() {
|
||||||
if( gameSettings->getFactionControl(i) != ctNetworkUnassigned) {
|
if( gameSettings->getFactionControl(i) != ctNetworkUnassigned) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if(clientInterface->getPlayerIndex() != i) {
|
else if(clientInterface->getPlayerIndex() != slot) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user