diff --git a/src/ui/main_dialog.cpp b/src/ui/main_dialog.cpp index 5b0584b..539bcde 100644 --- a/src/ui/main_dialog.cpp +++ b/src/ui/main_dialog.cpp @@ -4,6 +4,7 @@ #include "util/assert.hpp" #include "util/constants.hpp" #include "util/conversions.hpp" +#include "util/engine.hpp" #include #include @@ -12,6 +13,9 @@ namespace rl::inline ui { void MainDialog::_ready() { + if (engine::editor_active()) + return; + Console* game_console{ console::get() }; godot::Node* root{ scene::tree::root_node(this) };