Skip to content

Commit

Permalink
Merge pull request #76964 from aaronfranke/addon-sort
Browse files Browse the repository at this point in the history
Sort the list of addons before saving them
  • Loading branch information
akien-mga committed May 12, 2023
2 parents 5ac6ac4 + b412968 commit e4f81fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e4f81fb

Please sign in to comment.