Browse Source

Ignore "project_settings_override" in the editor

(cherry picked from commit e759129dd572f67f73ecf38c2454d5755d9b056b)
Felipe Augusto Marques 2 năm trước cách đây
mục cha
commit
e7f7fcd145
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/config/project_settings.cpp

+ 1 - 1
core/config/project_settings.cpp

@@ -640,7 +640,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);