mirror of
https://github.com/glest/glest-source.git
synced 2025-08-25 01:05:50 +02:00
modcenter download should be available again in menu state connected.
This commit is contained in:
@@ -4607,7 +4607,7 @@ void MenuStateConnectedGame::setupUIFromGameSettings(GameSettings *gameSettings,
|
|||||||
|
|
||||||
// Is the item in the mod center?
|
// Is the item in the mod center?
|
||||||
MutexSafeWrapper safeMutexThread((modHttpServerThread != NULL ? modHttpServerThread->getMutexThreadObjectAccessor() : NULL),string(__FILE__) + "_" + intToStr(__LINE__));
|
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"));
|
ftpMessageBox.init(lang.getString("Yes"),lang.getString("NoDownload"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -4775,7 +4775,7 @@ void MenuStateConnectedGame::setupUIFromGameSettings(GameSettings *gameSettings,
|
|||||||
|
|
||||||
// Is the item in the mod center?
|
// Is the item in the mod center?
|
||||||
MutexSafeWrapper safeMutexThread((modHttpServerThread != NULL ? modHttpServerThread->getMutexThreadObjectAccessor() : NULL),string(__FILE__) + "_" + intToStr(__LINE__));
|
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"));
|
ftpMessageBox.init(lang.getString("Yes"),lang.getString("NoDownload"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user