mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 11:41:46 +02:00
fixed ishmarus problem without default .mgg files ( http://glest.org/glest_board/index.php?topic=8629.0 )
This commit is contained in:
@@ -686,10 +686,12 @@ MenuStateCustomGame::MenuStateCustomGame(Program *program, MainMenu *mainMenu,
|
||||
publishToMasterserverThread->start();
|
||||
|
||||
if(openNetworkSlots==true){
|
||||
loadGameSettings(DEFAULT_NETWORKGAME_FILENAME);
|
||||
if(fileExists(DEFAULT_NETWORKGAME_FILENAME) == true)
|
||||
loadGameSettings(DEFAULT_NETWORKGAME_FILENAME);
|
||||
}
|
||||
else {
|
||||
loadGameSettings(DEFAULT_GAME_FILENAME);
|
||||
if(fileExists(DEFAULT_GAME_FILENAME) == true)
|
||||
loadGameSettings(DEFAULT_GAME_FILENAME);
|
||||
}
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__);
|
||||
|
||||
|
Reference in New Issue
Block a user