diff --git a/main/main.cpp b/main/main.cpp index 7cbafe37a3e..38e380568d6 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1195,11 +1195,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph if (editor) { packed_data->set_disabled(true); globals->set_disable_feature_overrides(true); - } -#endif - -#ifdef TOOLS_ENABLED - if (editor) { Engine::get_singleton()->set_editor_hint(true); main_args.push_back("--editor"); if (!init_windowed) {