minor fix healthbar
This commit is contained in:
parent
582ca88b59
commit
599fde6581
@ -257,8 +257,10 @@ function Healthbar:ENEMY_SPOTTED(unit)
|
||||
healthBar.nameText:SetText(button.name)
|
||||
end
|
||||
|
||||
if button.class then
|
||||
healthBar.hp:SetStatusBarColor(RAID_CLASS_COLORS[button.class].r, RAID_CLASS_COLORS[button.class].g, RAID_CLASS_COLORS[button.class].b, 1)
|
||||
end
|
||||
end
|
||||
|
||||
function Healthbar:UNIT_HEALTH(unit, health, healthMax)
|
||||
local healthBar = self.frames[unit]
|
||||
|
Loading…
Reference in New Issue
Block a user