summaryrefslogtreecommitdiffstats
path: root/core/global_config.cpp
diff options
context:
space:
mode:
authorMarco Melorio <m.melorio@icloud.com>2017-04-18 15:46:37 +0200
committerGitHub <noreply@github.com>2017-04-18 15:46:37 +0200
commit1ac38846e861f4f8d3a5711d2b05fce48018bf16 (patch)
treec21921496cafb36394d1c0b2a09c40dc7079de1d /core/global_config.cpp
parent5237bc952db59f452e760ac07e68fbb231003d49 (diff)
downloadredot-engine-1ac38846e861f4f8d3a5711d2b05fce48018bf16.tar.gz
Fixed that playing the project opens the project manager
Fixes #8445
Diffstat (limited to 'core/global_config.cpp')
-rw-r--r--core/global_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/global_config.cpp b/core/global_config.cpp
index 04838b5cc3..f9a0877c23 100644
--- a/core/global_config.cpp
+++ b/core/global_config.cpp
@@ -701,7 +701,7 @@ Error GlobalConfig::save_custom(const String &p_path, const CustomMap &p_custom,
props[category].push_back(name);
}
- if (p_path.ends_with(".cfg"))
+ if (p_path.ends_with(".godot"))
return _save_settings_text(p_path, props, p_custom);
else if (p_path.ends_with(".cfb"))
return _save_settings_binary(p_path, props, p_custom);