- bugfix for user in verbose mode with missing map
This commit is contained in:
parent
838d42599d
commit
e54aabd713
|
@ -1759,6 +1759,9 @@ void MenuStateConnectedGame::PlayNow(bool saveGame) {
|
|||
|
||||
string MenuStateConnectedGame::getCurrentMapFile() {
|
||||
int mapIndex=listBoxMap.getSelectedItemIndex();
|
||||
if(mapIndex < 0) {
|
||||
return "";
|
||||
}
|
||||
return mapFiles[mapIndex];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user