feat: save rules
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user