Browse Source

Merge pull request #8447 from Melix19/patch-1

Fixed that playing the project opens the project manager
Rémi Verschelde 8 years ago
parent
commit
8ee991a2a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/global_config.cpp

+ 1 - 1
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);
 		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);
 		return _save_settings_text(p_path, props, p_custom);
 	else if (p_path.ends_with(".cfb"))
 	else if (p_path.ends_with(".cfb"))
 		return _save_settings_binary(p_path, props, p_custom);
 		return _save_settings_binary(p_path, props, p_custom);