GH-1233 do not load worlds when not needed

This commit is contained in:
Petr Mrázek 2015-09-08 21:22:23 +02:00
parent 1ca9fc8961
commit 36dbf1fb43
2 changed files with 0 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}