public void AddGameFlagInventory(GameFlagInventory i) { if (gameFlagsHit.Contains(i.flag)) { return; } baseInventory.AddAll(i.items); gameFlagsHit.Add(i.flag); }
public void AddGameFlagInventory(GameFlagInventory i) { if (gameFlagsHit.Contains(i.flag)) { return; } baseInventory.AddAll(i.items.Select(x => x.GetItem()).ToList()); gameFlagsHit.Add(i.flag); }