From 337e04cf718928db6409c6f52d6366722e7687d2 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 1 Mar 2009 16:44:48 +0000 Subject: [PATCH] bug http://www.wowace.com/projects/ice-hud/tickets/14-taint-issue-with-focus-module/ - Taint Issue with Focus Module - changed to using RegisterUnitWatch on the focus module --- modules/FocusHealth.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/FocusHealth.lua b/modules/FocusHealth.lua index 11e4816..7f71da2 100644 --- a/modules/FocusHealth.lua +++ b/modules/FocusHealth.lua @@ -267,6 +267,10 @@ function FocusHealth.prototype:Enable(core) self:CreateRaidIconFrame() self:Update(self.unit) + + -- for showing/hiding the frame based on unit visibility + self.frame:SetAttribute("unit", self.unit) + RegisterUnitWatch(self.frame) end function FocusHealth.prototype:CreateBackground()