From 1ac38846e861f4f8d3a5711d2b05fce48018bf16 Mon Sep 17 00:00:00 2001 From: Marco Melorio Date: Tue, 18 Apr 2017 15:46:37 +0200 Subject: Fixed that playing the project opens the project manager Fixes #8445 --- core/global_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3