mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
miscellaneous fixes
This commit is contained in:
parent
eca3a54b20
commit
92f226cbcf
5 changed files with 14 additions and 6 deletions
|
|
@ -117,7 +117,9 @@ void LevelScreen::initializePack(ContentPackRuntime* pack) {
|
|||
}
|
||||
|
||||
LevelScreen::~LevelScreen() {
|
||||
saveWorldPreview();
|
||||
if (!controller->getLevel()->getWorld()->isNameless()) {
|
||||
saveWorldPreview();
|
||||
}
|
||||
scripting::on_frontend_close();
|
||||
// unblock all bindings
|
||||
Events::enableBindings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue