- fixed a bug where the resting icon would stay on way too long (nasty typo bug...)

This commit is contained in:
Parnic
2008-02-15 14:52:06 +00:00
parent 3c61a67b6a
commit 1ed59ded5c

View File

@ -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