Skip to content

Commit

Permalink
Merge pull request #276 from Cupcak3/master
Browse files Browse the repository at this point in the history
Fix items being kept if they do not meet filtering settings
  • Loading branch information
Cupcak3 authored May 16, 2022
2 parents 2f318df + 78c90c8 commit 4b6f5cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions InventoryKamera/data/InventoryKamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ public void ImageProcessorWorker()
WeaponScraper.StopScanning = true;
continue;
}
if (weapon.Level < (int)Properties.Settings.Default.MinimumWeaponLevel) continue;

UserInterface.IncrementWeaponCount();
Inventory.Add(weapon);
Expand Down Expand Up @@ -338,6 +339,7 @@ public void ImageProcessorWorker()
ArtifactScraper.StopScanning = true;
continue;
}
if (artifact.Level < (int)Properties.Settings.Default.MinimumArtifactLevel) continue;

UserInterface.IncrementArtifactCount();
Inventory.Add(artifact);
Expand Down

0 comments on commit 4b6f5cc

Please # to comment.