mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- minor garbage generation fix (thanks Torhal!)
This commit is contained in:
@ -1141,8 +1141,10 @@ function IceHUD:GetAuraCount(auraType, unit, ability, onlyMine, matchByName)
|
||||
return 0
|
||||
end
|
||||
|
||||
function IceHUD:HasBuffs(unit, spellIDs)
|
||||
do
|
||||
local retval = {}
|
||||
|
||||
function IceHUD:HasBuffs(unit, spellIDs)
|
||||
for i=1, #spellIDs do
|
||||
retval[i] = false
|
||||
end
|
||||
@ -1162,6 +1164,7 @@ function IceHUD:HasBuffs(unit, spellIDs)
|
||||
end
|
||||
|
||||
return retval
|
||||
end
|
||||
end
|
||||
|
||||
function IceHUD:OnDisable()
|
||||
|
Reference in New Issue
Block a user