diff --git a/NugEnergy.lua b/NugEnergy.lua index 0153eac..8381de1 100644 --- a/NugEnergy.lua +++ b/NugEnergy.lua @@ -526,6 +526,9 @@ function NugEnergy.Initialize(self) GetPower = GetPower_ClassicRogueTicker(nil, 19, 0, false) NugEnergy.UNIT_MAXPOWER = UNIT_MAXPOWER_ClassicTicker self:UnregisterEvent("UNIT_POWER_FREQUENT") + if APILevel == 2 then + lastEnergyTickTime = GetTime() + end self:SetScript("OnUpdate",self.UpdateEnergy) ClassicTickerFrame:Enable(true) self:UpdateBarEffects()