mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- Fixed a couple of places that I forgot to declare the variable _ as a local which was causing taint due to Blizzard also forgetting to declare _ as a global in the glyph frame.
This commit is contained in:
@ -46,6 +46,7 @@ end
|
|||||||
|
|
||||||
function IceUnitBar.prototype:SetUnit(unit)
|
function IceUnitBar.prototype:SetUnit(unit)
|
||||||
self.unit = unit
|
self.unit = unit
|
||||||
|
local _
|
||||||
_, self.unitClass = UnitClass(self.unit)
|
_, self.unitClass = UnitClass(self.unit)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -107,6 +107,7 @@ end
|
|||||||
function IceTargetInfo.prototype:Enable(core)
|
function IceTargetInfo.prototype:Enable(core)
|
||||||
IceTargetInfo.super.prototype.Enable(self, core)
|
IceTargetInfo.super.prototype.Enable(self, core)
|
||||||
|
|
||||||
|
local _
|
||||||
_, self.playerClass = UnitClass("player")
|
_, self.playerClass = UnitClass("player")
|
||||||
|
|
||||||
if IceHUD.IceCore:ShouldUseDogTags() then
|
if IceHUD.IceCore:ShouldUseDogTags() then
|
||||||
|
Reference in New Issue
Block a user