summaryrefslogtreecommitdiff
path: root/core/config/project_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/config/project_settings.h')
-rw-r--r--core/config/project_settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/config/project_settings.h b/core/config/project_settings.h
index f8dc618cb8..bacc8adc54 100644
--- a/core/config/project_settings.h
+++ b/core/config/project_settings.h
@@ -84,7 +84,7 @@ protected:
int last_builtin_order = 0;
uint64_t last_save_time = 0;
- HashMap<StringName, VariantContainer> props;
+ RBMap<StringName, VariantContainer> props; // NOTE: Key order is used e.g. in the save_custom method.
String resource_path;
HashMap<StringName, PropertyInfo> custom_prop_info;
bool disable_feature_overrides = false;
@@ -108,8 +108,8 @@ protected:
Error _load_settings_binary(const String &p_path);
Error _load_settings_text_or_binary(const String &p_text_path, const String &p_bin_path);
- Error _save_settings_text(const String &p_file, const HashMap<String, List<String>> &props, const CustomMap &p_custom = CustomMap(), const String &p_custom_features = String());
- Error _save_settings_binary(const String &p_file, const HashMap<String, List<String>> &props, const CustomMap &p_custom = CustomMap(), const String &p_custom_features = String());
+ Error _save_settings_text(const String &p_file, const RBMap<String, List<String>> &props, const CustomMap &p_custom = CustomMap(), const String &p_custom_features = String());
+ Error _save_settings_binary(const String &p_file, const RBMap<String, List<String>> &props, const CustomMap &p_custom = CustomMap(), const String &p_custom_features = String());
Error _save_custom_bnd(const String &p_file);