mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 16:02:50 +02:00
- bugfix for user in verbose mode with missing map
This commit is contained in:
@@ -1759,6 +1759,9 @@ void MenuStateConnectedGame::PlayNow(bool saveGame) {
|
||||
|
||||
string MenuStateConnectedGame::getCurrentMapFile() {
|
||||
int mapIndex=listBoxMap.getSelectedItemIndex();
|
||||
if(mapIndex < 0) {
|
||||
return "";
|
||||
}
|
||||
return mapFiles[mapIndex];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user