Sort the list of addons before saving them

This commit is contained in:
Aaron Franke 2023-05-11 13:39:26 -05:00
parent fd4a06c515
commit b4129680fb
No known key found for this signature in database
GPG Key ID: 40A1750B977E56BF

View File

@ -3302,6 +3302,7 @@ void EditorNode::_update_addon_config() {
if (enabled_addons.size() == 0) {
ProjectSettings::get_singleton()->set("editor_plugins/enabled", Variant());
} else {
enabled_addons.sort();
ProjectSettings::get_singleton()->set("editor_plugins/enabled", enabled_addons);
}