From 0c0734007d163d1759393740c97c9c3c8bbad50b Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 26 Dec 2010 02:07:21 +0000 Subject: [PATCH] - fixed a bug where an error message would pop up when enabling the FocusHealth module while a unit is focused that has a raid icon assigned to it --- modules/FocusHealth.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/FocusHealth.lua b/modules/FocusHealth.lua index b3166d1..28f770c 100644 --- a/modules/FocusHealth.lua +++ b/modules/FocusHealth.lua @@ -344,6 +344,9 @@ function FocusHealth.prototype:Update(unit) self:Show(true) end + if not self.frame.raidIcon then + self:CreateRaidIconFrame() + end self:UpdateRaidFocusIcon() self.color = "FocusHealthFriendly" -- friendly > 4