Fix mutating project.godot

Namely:
- comment block lost on first save;
- config_version doubled as 3 and null on second save;
- format change on first save.
This commit is contained in:
Pedro J. Estébanez
2017-07-26 15:28:54 +02:00
parent ccb17c2b27
commit 1619aabfe1
3 changed files with 41 additions and 38 deletions

View File

@ -138,7 +138,7 @@ public:
Error setup(const String &p_path, const String &p_main_pack);
Error save_custom(const String &p_path = "", const CustomMap &p_custom = CustomMap(), const Vector<String> &p_custom_features = Vector<String>());
Error save_custom(const String &p_path = "", const CustomMap &p_custom = CustomMap(), const Vector<String> &p_custom_features = Vector<String>(), bool p_merge_with_current = true);
Error save();
void set_custom_property_info(const String &p_prop, const PropertyInfo &p_info);