fix leak of global values

This commit is contained in:
Pinya
2018-07-18 15:08:04 +03:00
parent c60324af12
commit 8b44916c87
9 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ function B:UpdateSlot(bagID, slotID)
if B.ProfessionColors[bagType] then
slot:SetBackdropBorderColor(unpack(B.ProfessionColors[bagType]))
elseif clink then
local iLvl, itemEquipLoc
local _, iLvl, itemEquipLoc
slot.name, _, slot.rarity, iLvl, _, _, _, itemEquipLoc = GetItemInfo(match(clink, "item:(%d+)"))
local r, g, b