From 4d7e0c1f4daee8e112f9b78c69c464fb9c5fa82b Mon Sep 17 00:00:00 2001 From: titiger Date: Wed, 28 Jan 2015 01:59:17 +0100 Subject: [PATCH] modcenter download should be available again in menu state connected. --- source/glest_game/menu/menu_state_connected_game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 09e26ca85..1e67ff5f9 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -4607,7 +4607,7 @@ void MenuStateConnectedGame::setupUIFromGameSettings(GameSettings *gameSettings, // Is the item in the mod center? MutexSafeWrapper safeMutexThread((modHttpServerThread != NULL ? modHttpServerThread->getMutexThreadObjectAccessor() : NULL),string(__FILE__) + "_" + intToStr(__LINE__)); - if(tilesetCacheList.find(getMissingMapFromFTPServer) == tilesetCacheList.end()) { + if(tilesetCacheList.find(getMissingTilesetFromFTPServer) == tilesetCacheList.end()) { ftpMessageBox.init(lang.getString("Yes"),lang.getString("NoDownload")); } else { @@ -4775,7 +4775,7 @@ void MenuStateConnectedGame::setupUIFromGameSettings(GameSettings *gameSettings, // Is the item in the mod center? MutexSafeWrapper safeMutexThread((modHttpServerThread != NULL ? modHttpServerThread->getMutexThreadObjectAccessor() : NULL),string(__FILE__) + "_" + intToStr(__LINE__)); - if(mapCacheList.find(getMissingTechtreeFromFTPServer) == mapCacheList.end()) { + if(mapCacheList.find(getMissingMapFromFTPServer) == mapCacheList.end()) { ftpMessageBox.init(lang.getString("Yes"),lang.getString("NoDownload")); } else {