- fixed icons on the target health bar not always hiding when they should

This commit is contained in:
Parnic
2010-10-15 01:08:51 +00:00
parent e9ac3fd078
commit 5c122c227d

View File

@ -753,6 +753,18 @@ function IceTargetHealth.prototype:Update(unit)
if unit and not (UnitExists(unit)) then
-- self:Show(false)
if self.barFrame.PvPIcon then
self.barFrame.PvPIcon:Hide()
end
if self.frame.PartyRoleIcon then
self.frame.PartyRoleIcon:Hide()
end
if self.barFrame.classIcon then
self.barFrame.classIcon:Hide()
end
if self.frame.raidIcon then
self.frame.raidIcon:Hide()
end
return
else
-- self:Show(true)