GH-1233 do not load worlds when not needed
This commit is contained in:
parent
1ca9fc8961
commit
36dbf1fb43
@ -326,7 +326,6 @@ std::shared_ptr<WorldList> LegacyInstance::worldList() const
|
|||||||
{
|
{
|
||||||
m_world_list.reset(new WorldList(savesDir()));
|
m_world_list.reset(new WorldList(savesDir()));
|
||||||
}
|
}
|
||||||
m_world_list->update();
|
|
||||||
return m_world_list;
|
return m_world_list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -399,7 +399,6 @@ std::shared_ptr<WorldList> OneSixInstance::worldList() const
|
|||||||
{
|
{
|
||||||
m_world_list.reset(new WorldList(worldDir()));
|
m_world_list.reset(new WorldList(worldDir()));
|
||||||
}
|
}
|
||||||
m_world_list->update();
|
|
||||||
return m_world_list;
|
return m_world_list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user