Skip to content

Commit

Permalink
Fix Loadout Subcategories Not Being Found (Simple-Station#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
DEATHB4DEFEAT authored Nov 17, 2024
1 parent bf6019f commit 2eea0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Client/Lobby/UI/HumanoidProfileEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2289,7 +2289,7 @@ private Dictionary<string, object> CreateTree(List<LoadoutCategoryPrototype> cat
return match;

foreach (var subcategory in parent.Contents.Where(c => c is NeoTabContainer).Cast<NeoTabContainer>())
match = FindCategory(id, subcategory);
match ??= FindCategory(id, subcategory);

return match;
}
Expand Down

0 comments on commit 2eea0f7

Please sign in to comment.