mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
Content menu, content-pack dependencies
This commit is contained in:
parent
abc3e47feb
commit
c57b2d0de3
25 changed files with 230 additions and 21 deletions
|
|
@ -104,6 +104,7 @@ LevelScreen::~LevelScreen() {
|
|||
auto world = level->getWorld();
|
||||
world->write(level.get());
|
||||
controller->onWorldQuit();
|
||||
engine->getPaths()->setWorldFolder(fs::path());
|
||||
}
|
||||
|
||||
void LevelScreen::updateHotkeys() {
|
||||
|
|
@ -163,3 +164,7 @@ void LevelScreen::draw(float delta) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Level* LevelScreen::getLevel() const {
|
||||
return level.get();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue