Skip to content

Commit

Permalink
fix bonuses
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jul 7, 2024
1 parent d36f00c commit 38de14d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion idTip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ local function attachItemTooltip(tooltip, id)
local itemSplit = {}

for v in string.gmatch(itemString, "(%d*:?)") do
itemSplit[#itemSplit + 1] = v == ":" and 0 string.gsub(v, ":", "")
if v == ":" then
itemSplit[#itemSplit + 1] = 0
else
itemSplit[#itemSplit + 1] = string.gsub(v, ":", "")
end
end

for index = 1, tonumber(itemSplit[13]) do
Expand Down

0 comments on commit 38de14d

Please sign in to comment.