mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
World creation fix
This commit is contained in:
parent
9657f04ae8
commit
3c89b9c083
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ Panel* create_new_world_panel(Engine* engine, PagesControl* menu) {
|
|||
|
||||
// TODO: complete and move somewhere
|
||||
auto resdir = engine->getPaths()->getResources();
|
||||
auto packs = engine->getContentPacks();
|
||||
auto& packs = engine->getContentPacks();
|
||||
packs.clear();
|
||||
packs.push_back(ContentPack::read(resdir/path("content/base")));
|
||||
engine->loadContent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue