mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
feat: pre-set world: entry-point on world creation
This commit is contained in:
parent
be2854ea0e
commit
279299274a
1 changed files with 1 additions and 1 deletions
|
|
@ -276,8 +276,8 @@ void EngineController::createWorld(
|
||||||
auto folder = paths.getWorldsFolder() / name;
|
auto folder = paths.getWorldsFolder() / name;
|
||||||
|
|
||||||
call(engine, [this, &paths, folder]() {
|
call(engine, [this, &paths, folder]() {
|
||||||
engine.getContentControl().loadContent();
|
|
||||||
paths.setCurrentWorldFolder(folder);
|
paths.setCurrentWorldFolder(folder);
|
||||||
|
engine.getContentControl().loadContent();
|
||||||
});
|
});
|
||||||
|
|
||||||
auto& contentControl = engine.getContentControl();
|
auto& contentControl = engine.getContentControl();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue