Skip to content

Commit

Permalink
Fixed merge
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Dec 6, 2020
1 parent 27dcd83 commit a49fb91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NugEnergy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,12 @@ function NugEnergy.Initialize(self)
if isClassic and NugEnergyDB.enableClassicTicker then
GetPower = GetPower_ClassicRogueTicker(nil, 19, 0, false)
ClassicTickerFrame:Enable()
self:SetScript("OnUpdate",self.UpdateEnergy)
self:UpdateBarEffects() -- Will Disable Smoothing
NugEnergy.UNIT_MAXPOWER = UNIT_MAXPOWER_ClassicTicker
else
GetPower = RageBarGetPower(nil, 5, nil, true)
self:SetScript("OnUpdate", nil)
if ClassicTickerFrame.isEnabled then
ClassicTickerFrame:Disable()
self:UpdateBarEffects()
Expand Down

0 comments on commit a49fb91

Please sign in to comment.