summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFelipe Augusto Marques <felaugmar@gmail.com>2023-05-25 01:30:37 -0300
committerFelipe Augusto Marques <felaugmar@gmail.com>2023-05-25 01:30:37 -0300
commite759129dd572f67f73ecf38c2454d5755d9b056b (patch)
treeb1f2d0ed601634ce3a4f88b46260f3653d7aaab2 /core
parent4c677c88e918e22ad696f225d189124444f9665e (diff)
downloadredot-engine-e759129dd572f67f73ecf38c2454d5755d9b056b.tar.gz
Ignore "project_settings_override" in the editor
Diffstat (limited to 'core')
-rw-r--r--core/config/project_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index c3df4a2ebe..bb44487116 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -628,7 +628,7 @@ Error ProjectSettings::_setup(const String &p_path, const String &p_main_pack, b
Error ProjectSettings::setup(const String &p_path, const String &p_main_pack, bool p_upwards, bool p_ignore_override) {
Error err = _setup(p_path, p_main_pack, p_upwards, p_ignore_override);
- if (err == OK) {
+ if (err == OK && !p_ignore_override) {
String custom_settings = GLOBAL_GET("application/config/project_settings_override");
if (!custom_settings.is_empty()) {
_load_settings_text(custom_settings);