mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed a bug where the resting icon would stay on way too long (nasty typo bug...)
This commit is contained in:
@ -561,7 +561,7 @@ function PlayerHealth.prototype:Resting()
|
||||
self.frame.statusIcon = self:DestroyTexFrame(self.frame.statusIcon)
|
||||
end
|
||||
else
|
||||
if not UnitAffectingCombat and self.frame.statusIcon then
|
||||
if not UnitAffectingCombat(self.unit) and self.frame.statusIcon then
|
||||
self.frame.statusIcon = self:DestroyTexFrame(self.frame.statusIcon)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user