mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Another little tweak to energy ticker
This commit is contained in:
@ -144,12 +144,13 @@ function PlayerMana.prototype:UpdateEnergy(unit)
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
if (not (self.previousEnergy) or (self.previousEnergy <= UnitMana(self.unit))) then
|
||||
self.previousEnergy = UnitMana(self.unit)
|
||||
self.tickStart = GetTime()
|
||||
self.tickerFrame:Show()
|
||||
end
|
||||
|
||||
self.previousEnergy = UnitMana(self.unit)
|
||||
self:Update(unit)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user