Hidden loadout groups (#29170)

* loadout hiding

* department of redundancy department
This commit is contained in:
Errant
2024-06-19 02:26:46 +02:00
committed by GitHub
parent baa6836489
commit 9b2f9ce05f
2 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ public sealed partial class LoadoutWindow : FancyWindow
if (!protoManager.TryIndex(group, out var groupProto))
continue;
if (groupProto.Hidden)
continue;
var container = new LoadoutGroupContainer(profile, loadout, protoManager.Index(group), session, collection);
LoadoutGroupsContainer.AddTab(container, Loc.GetString(groupProto.Name));
_groups.Add(container);