mirror of
https://github.com/glest/glest-source.git
synced 2025-02-26 12:43:06 +01:00
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) {
|
||||
continue;
|
||||
}
|
||||
else if(clientInterface->getPlayerIndex() != i) {
|
||||
else if(clientInterface->getPlayerIndex() != slot) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user