Skip to content

Commit 5f1f863

Browse files
authored
Fixes #9086: Tooltip was being passed multiple values, failing the font lookup (#9087)
1 parent 70804a2 commit 5f1f863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Classes/ItemsTab.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,15 +746,15 @@ holding Shift will put it in the second.]])
746746
tooltip:AddLine(14, maxLine)
747747
else
748748
local start = 1
749-
tooltip:AddLine(14, minLine:gsub("%d[%d%.]*", function(min)
749+
tooltip:AddLine(14, (minLine:gsub("%d[%d%.]*", function(min)
750750
local s, e, max = maxLine:find("(%d[%d%.]*)", start)
751751
start = e + 1
752752
if min == max then
753753
return min
754754
else
755755
return "("..min.."-"..max..")"
756756
end
757-
end))
757+
end)))
758758
end
759759
end
760760
tooltip:AddLine(16, "Level: "..minMod.level.." to "..maxMod.level)

0 commit comments

Comments
 (0)