mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Small fix
This commit is contained in:
parent
8310b1b768
commit
b5548902be
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ MenuScreen::MenuScreen(Engine* engine_) : Screen(engine_) {
|
|||
button->listenAction([this, panel](GUI*) {
|
||||
std::cout << "-- loading world" << std::endl;
|
||||
EngineSettings& settings = engine->getSettings();
|
||||
path folder = enginefs::get_worlds_folder()/"world";
|
||||
path folder = enginefs::get_worlds_folder()/path("world");
|
||||
World* world = new World("world", folder, 42, settings);
|
||||
|
||||
auto screen = new LevelScreen(engine, world->loadLevel(settings));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue