feat: save rules

This commit is contained in:
MihailRis
2024-11-06 19:37:20 +03:00
parent 6602584c13
commit 8c8c844dd4
4 changed files with 47 additions and 13 deletions
+2
View File
@@ -87,6 +87,8 @@ void LevelScreen::initializePack(ContentPackRuntime* pack) {
LevelScreen::~LevelScreen() {
saveWorldPreview();
scripting::on_frontend_close();
// unblock all bindings
Events::enableBindings();
controller->onWorldQuit();
engine->getPaths()->setCurrentWorldFolder(fs::path());
}