summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-08 21:22:23 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-08 21:22:23 +0200
commit36dbf1fb4353f3690079f557af09827853331722 (patch)
treee06f9dec4df022bf6d2e59ea76287a7c1721f276
parent1ca9fc8961a48ba8d8da06601cd64583a577da2a (diff)
downloadMultiMC-36dbf1fb4353f3690079f557af09827853331722.tar
MultiMC-36dbf1fb4353f3690079f557af09827853331722.tar.gz
MultiMC-36dbf1fb4353f3690079f557af09827853331722.tar.lz
MultiMC-36dbf1fb4353f3690079f557af09827853331722.tar.xz
MultiMC-36dbf1fb4353f3690079f557af09827853331722.zip
GH-1233 do not load worlds when not needed
-rw-r--r--logic/minecraft/LegacyInstance.cpp1
-rw-r--r--logic/minecraft/OneSixInstance.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/logic/minecraft/LegacyInstance.cpp b/logic/minecraft/LegacyInstance.cpp
index ff345033..b9082bc6 100644
--- a/logic/minecraft/LegacyInstance.cpp
+++ b/logic/minecraft/LegacyInstance.cpp
@@ -326,7 +326,6 @@ std::shared_ptr<WorldList> LegacyInstance::worldList() const
{
m_world_list.reset(new WorldList(savesDir()));
}
- m_world_list->update();
return m_world_list;
}
diff --git a/logic/minecraft/OneSixInstance.cpp b/logic/minecraft/OneSixInstance.cpp
index b0fab8af..87994cef 100644
--- a/logic/minecraft/OneSixInstance.cpp
+++ b/logic/minecraft/OneSixInstance.cpp
@@ -399,7 +399,6 @@ std::shared_ptr<WorldList> OneSixInstance::worldList() const
{
m_world_list.reset(new WorldList(worldDir()));
}
- m_world_list->update();
return m_world_list;
}