Sort ID card console jobs (#14588)
This commit is contained in:
parent
3a9c71cc41
commit
52e30b381c
|
|
@ -50,7 +50,8 @@ namespace Content.Client.Access.UI
|
|||
};
|
||||
JobTitleSaveButton.OnPressed += _ => SubmitData();
|
||||
|
||||
var jobs = _prototypeManager.EnumeratePrototypes<JobPrototype>();
|
||||
var jobs = _prototypeManager.EnumeratePrototypes<JobPrototype>().ToList();
|
||||
jobs.Sort((x, y) => string.Compare(x.LocalizedName, y.LocalizedName, StringComparison.CurrentCulture));
|
||||
|
||||
foreach (var job in jobs)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue