Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

[Editor] Do not disable path overrides in tools build.

Pāvels Nadtočajevs3e433729921b
diff --git a/main/main.cpp b/main/main.cpp
index 6e37c014993..04f3798534b 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -4218,12 +4218,14 @@ int Main::start() {
#endif // TOOLS_ENABLED
#if defined(OVERRIDE_PATH_ENABLED)
+#ifndef TOOLS_ENABLED
bool disable_override = GLOBAL_GET("application/config/disable_project_settings_override");
if (disable_override) {
script = String();
game_path = String();
main_loop_type = String();
}
+#endif // TOOLS_ENABLED
#else
script = String();
game_path = String();