diff --git a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs index 3f526981a4e..c4e1e1fc13b 100644 --- a/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs +++ b/Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs @@ -2289,7 +2289,7 @@ private Dictionary CreateTree(List cat return match; foreach (var subcategory in parent.Contents.Where(c => c is NeoTabContainer).Cast()) - match = FindCategory(id, subcategory); + match ??= FindCategory(id, subcategory); return match; }