add compatibility with other files

This commit is contained in:
alexei-zebra
2024-08-06 15:51:55 +03:00
parent 62125b14b4
commit 91ad9cc64c
9 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ LevelScreen::~LevelScreen() {
saveWorldPreview();
scripting::on_frontend_close();
controller->onWorldQuit();
engine->getPaths()->setWorldFolder(fs::path());
engine->getPaths()->setCurrentWorldFolder(fs::path());
}
void LevelScreen::saveWorldPreview() {