fixed a bug where armor would be parsed as charges for items without charges
This commit is contained in:
@@ -126,7 +126,7 @@ function processQueryResults()
|
||||
AuctionatorScanTooltip:SetAuctionItem("list", i)
|
||||
AuctionatorScanTooltip:Show()
|
||||
local chargesLabel = getglobal("AuctionatorScanTooltipTextLeft"..4):GetText()
|
||||
local chargesString = gsub(chargesLabel and chargesLabel or "","%D", "")
|
||||
local chargesString = gsub(chargesLabel and chargesLabel or "", "(%d+) Charges", "%1")
|
||||
local charges = tonumber(chargesString)
|
||||
|
||||
local scanDatum = {
|
||||
|
||||
Reference in New Issue
Block a user