Fix species not being ordered alphabetically in the character customization UI (#39359)
* Fix species not being ordered alphabetically in the character customization UI * Update Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -607,6 +607,7 @@ namespace Content.Client.Lobby.UI
|
||||
_species.Clear();
|
||||
|
||||
_species.AddRange(_prototypeManager.EnumeratePrototypes<SpeciesPrototype>().Where(o => o.RoundStart));
|
||||
_species.Sort((a, b) => string.Compare(a.Name, b.Name, StringComparison.CurrentCultureIgnoreCase));
|
||||
var speciesIds = _species.Select(o => o.ID).ToList();
|
||||
|
||||
for (var i = 0; i < _species.Count; i++)
|
||||
|
||||
Reference in New Issue
Block a user