Skip to content

Commit 3a06117

Browse files
committed
Fix scourge dropdowns not omitting selected value
1 parent 4c619ef commit 3a06117

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Classes/ItemsTab.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2960,7 +2960,8 @@ function ItemsTabClass:CorruptDisplayItem(modType)
29602960
for i = 1, 4 do
29612961
controls["implicit" .. i].selFunc = function()
29622962
local otherIdx = (i % 2 == 0) and (i - 1) or (i + 1)
2963-
buildList(controls["implicit" .. i], controls["implicit" .. i + otherIdx], i < 3 and currentModType or "ScourgeDownside")
2963+
-- remove selected entry from other dropdown of the same type
2964+
buildList(controls["implicit" .. otherIdx], controls["implicit" .. i], i < 3 and currentModType or "ScourgeDownside")
29642965
end
29652966
if i < 3 then
29662967
controls["implicit" .. i].selFunc()

0 commit comments

Comments
 (0)