Skip to content

Commit 0ee18e7

Browse files
committed
Fix filter logic
1 parent 881fea5 commit 0ee18e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Classes/ItemsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2800,7 +2800,7 @@ function ItemsTabClass:CorruptDisplayItem(modType)
28002800
end
28012801
-- test if a mod is scalable at all. this will let through mods that scale, but don't actually change within the corrupt range
28022802
local testScaledLine = itemLib.applyRange(mod.line, mod.range or main.defaultItemAffixQuality, mod.valueScalar or 1, 2)
2803-
if not (testScaledLine == mod.line) and #variantIds > 0 and selectedVariant or #variantIds == 0 then
2803+
if not (testScaledLine == mod.line) and (#variantIds > 0 and selectedVariant or #variantIds == 0) then
28042804
local label = ""
28052805
controls["rollRangeValue" .. i] = new("LabelControl"):LabelControl({ "TOPLEFT", nil, "TOPLEFT" },
28062806
{ 10, 10 + offset, 200, 16 }, "^71.00")

0 commit comments

Comments
 (0)