diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 7a000c33..82bc3397 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -1209,9 +1209,8 @@ void MenuStateConnectedGame::update() { } } } - + factionCRCList.push_back(make_pair(factionName,factionCRC)); } - factionCRCList.push_back(make_pair(factionName,factionCRC)); } //console.addLine("Found factions: " + intToStr(factionCRCList.size())); } diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index bb2b844f..39daa4dd 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -2332,8 +2332,8 @@ void MenuStateCustomGame::loadGameSettings(GameSettings *gameSettings) { if(factionCRC == 0) { factionCRC = getFolderTreeContentsCheckSumRecursively(config.getPathListForType(ptTechs,""), "/" + gameSettings->getTech() + "/factions/" + factionName + "/*", ".xml", NULL, true); } + factionCRCList.push_back(make_pair(factionName,factionCRC)); } - factionCRCList.push_back(make_pair(factionName,factionCRC)); } //console.addLine("Found factions: " + intToStr(factionCRCList.size())); lastCheckedCRCTechtreeName = gameSettings->getTech();