diff --git a/src/editor.cpp b/src/editor.cpp index cf7466cb..5f84350f 100644 --- a/src/editor.cpp +++ b/src/editor.cpp @@ -29,6 +29,8 @@ Editor::~Editor() delete this->settings; delete this->playerViewRect; delete this->cursorMapTileRect; + + closeProject(); } void Editor::saveProject() {