Skip to content

Commit

Permalink
squishy
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth committed Sep 19, 2024
1 parent 462d3b4 commit b49a397
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private IEnumerable<StartingGearPrototype> GetPrototypes()
{
// Filter out any StartingGearPrototypes that belong to loadouts
var loadouts = _prototypeManager.EnumeratePrototypes<LoadoutPrototype>();
var loadoutGears = loadouts.Select(l => l.Equipment);
var loadoutGears = loadouts.Select(l => l.StartingGear);
return _prototypeManager.EnumeratePrototypes<StartingGearPrototype>()
.Where(p => !loadoutGears.Contains(p.ID));
}
Expand Down

0 comments on commit b49a397

Please sign in to comment.