mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
world does not appear in list first time after creation fix
This commit is contained in:
parent
c2ab95dc9f
commit
380d1d0959
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ Panel* create_new_world_panel(Engine* engine, PagesControl* menu) {
|
|||
std::cout << "world seed: " << seed << std::endl;
|
||||
|
||||
auto folder = paths->getWorldsFolder()/u8path(nameutf8);
|
||||
std::filesystem::create_directories(folder);
|
||||
Level* level = World::create(nameutf8,
|
||||
folder,
|
||||
seed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue