Another little tweak to energy ticker

This commit is contained in:
iceroth
2006-08-02 17:42:03 +00:00
parent ae964ef179
commit 0887e36186

View File

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