summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftVersion.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-08-21 00:23:20 +0200
committerPetr Mrázek <peterix@gmail.com>2014-08-21 00:32:32 +0200
commitfebf3645d042dd7a5bf488d091286a3efd46a727 (patch)
tree4e4a2d4a9d7e27dfac3761f6da71c0c27a283f84 /logic/minecraft/MinecraftVersion.cpp
parent01ca3d6aad30a71b1523291ed59ba6585ad32e9e (diff)
downloadMultiMC-febf3645d042dd7a5bf488d091286a3efd46a727.tar
MultiMC-febf3645d042dd7a5bf488d091286a3efd46a727.tar.gz
MultiMC-febf3645d042dd7a5bf488d091286a3efd46a727.tar.lz
MultiMC-febf3645d042dd7a5bf488d091286a3efd46a727.tar.xz
MultiMC-febf3645d042dd7a5bf488d091286a3efd46a727.zip
Fix version file problems, fix console window not being destroyed
Diffstat (limited to 'logic/minecraft/MinecraftVersion.cpp')
-rw-r--r--logic/minecraft/MinecraftVersion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/minecraft/MinecraftVersion.cpp b/logic/minecraft/MinecraftVersion.cpp
index 939c1149..bd53997b 100644
--- a/logic/minecraft/MinecraftVersion.cpp
+++ b/logic/minecraft/MinecraftVersion.cpp
@@ -147,7 +147,7 @@ QString MinecraftVersion::getPatchFilename()
bool MinecraftVersion::needsUpdate()
{
auto settings = MMC->settings();
- bool result = hasUpdate() && settings->get("AutoUpdateMinecraftVersions").toBool();
+ bool result = m_versionSource == Remote || (hasUpdate() && settings->get("AutoUpdateMinecraftVersions").toBool());
return result;
}