summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-03-07 10:17:59 +0100
committerGitHub <noreply@github.com>2021-03-07 10:17:59 +0100
commitafd0df79215c260f3b9a9544e5ca1b606f4365c0 (patch)
tree44123bc22fd39af8fc78bbbdd9f743f13a540b7f /core
parent15bd2bf03f25c7c6217cb625572c6785b9cfbf6b (diff)
parent156c402f2bfd391f2b1160710ff206f4427b8501 (diff)
Merge pull request #46386 from KoBeWi/projekt_settingz
Clarify ProjectSettings.save for exported projects
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 c872ae2162..02effc2001 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -909,7 +909,7 @@ Error ProjectSettings::save_custom(const String &p_path, const CustomMap &p_cust
custom_features += f;
}
- if (p_path.ends_with(".godot")) {
+ if (p_path.ends_with(".godot") || p_path.ends_with("override.cfg")) {
return _save_settings_text(p_path, props, p_custom, custom_features);
} else if (p_path.ends_with(".binary")) {
return _save_settings_binary(p_path, props, p_custom, custom_features);