Fixed that playing the project opens the project manager

Fixes #8445
This commit is contained in:
Marco Melorio 2017-04-18 15:46:37 +02:00 committed by GitHub
parent 5237bc952d
commit 1ac38846e8

View file

@ -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);