mover tick rate setter to update frame

CiscOH Bellic 2 years ago
parent 08839ca618
commit 8b5f04bdea
  1. 4
      src/_bastion.lua

@ -433,8 +433,6 @@ function Bastion:Ticker()
MODULES[i]:Tick() MODULES[i]:Tick()
end end
end end
Bastion.tickRate = Bastion:GetTickRate()
end end
local tickFrame = CreateFrame("FRAME", "ticker") local tickFrame = CreateFrame("FRAME", "ticker")
@ -446,7 +444,7 @@ tickFrame:HookScript("OnUpdate", function(self, elapsed)
end end
Bastion:Trace("TickRate: " .. Bastion.tickRate) Bastion:Trace("TickRate: " .. Bastion.tickRate)
timeElapsed = 0 timeElapsed = 0
Bastion.tickRate = Bastion:GetTickRate()
end) end)

Loading…
Cancel
Save