From c60a44ee9474694bd8bb6cfc7ba027b8c00326b7 Mon Sep 17 00:00:00 2001 From: Parnic Date: Wed, 29 Aug 2012 02:52:21 +0000 Subject: [PATCH] - 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. --- IceUnitBar.lua | 1 + modules/TargetInfo.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/IceUnitBar.lua b/IceUnitBar.lua index c9d5405..82f8fe4 100644 --- a/IceUnitBar.lua +++ b/IceUnitBar.lua @@ -46,6 +46,7 @@ end function IceUnitBar.prototype:SetUnit(unit) self.unit = unit + local _ _, self.unitClass = UnitClass(self.unit) end diff --git a/modules/TargetInfo.lua b/modules/TargetInfo.lua index fd07389..f36b580 100644 --- a/modules/TargetInfo.lua +++ b/modules/TargetInfo.lua @@ -107,6 +107,7 @@ end function IceTargetInfo.prototype:Enable(core) IceTargetInfo.super.prototype.Enable(self, core) + local _ _, self.playerClass = UnitClass("player") if IceHUD.IceCore:ShouldUseDogTags() then