mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- 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
This commit is contained in:
@ -344,6 +344,9 @@ function FocusHealth.prototype:Update(unit)
|
|||||||
self:Show(true)
|
self:Show(true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not self.frame.raidIcon then
|
||||||
|
self:CreateRaidIconFrame()
|
||||||
|
end
|
||||||
self:UpdateRaidFocusIcon()
|
self:UpdateRaidFocusIcon()
|
||||||
|
|
||||||
self.color = "FocusHealthFriendly" -- friendly > 4
|
self.color = "FocusHealthFriendly" -- friendly > 4
|
||||||
|
Reference in New Issue
Block a user