- changed to using RegisterUnitWatch on the focus module
This commit is contained in:
Parnic
2009-03-01 16:44:48 +00:00
parent 429fa4858e
commit 337e04cf71

View File

@ -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()