Skip to content

Commit

Permalink
world does not appear in list first time after creation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Dec 10, 2023
1 parent c2ab95d commit 380d1d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 380d1d0

Please sign in to comment.