# HG changeset patch # User Nenue # Date 1450185891 18000 # Node ID 62f9b057c91b1d34151dab4429bb59a00c165652 # Parent 766d8a40a1d69e5e8199d0c93b419fc89e4f52ee use GetTime() directly diff -r 766d8a40a1d6 -r 62f9b057c91b Fog.lua --- a/Fog.lua Tue Dec 15 08:07:21 2015 -0500 +++ b/Fog.lua Tue Dec 15 08:24:51 2015 -0500 @@ -56,7 +56,6 @@ _G.print(TL, ...) end --setprinthandler(function (...) T:debug('Fog', nil, ...) end) -local time = _G.ct local FADE_OUT_TIME = 1 -- duration per 1-0 alpha transition local FADE_IN_TIME = 0.4 -- duration per 0-1 alpha transition @@ -108,7 +107,7 @@ self:CreateStatusTextures(f, config) f.throttle_rate = 0.0166666666 -- ~60fps - f.throttle_point = time + f.throttle_point = GetTime() -- default handler f.Update = T.Bar_Update diff -r 766d8a40a1d6 -r 62f9b057c91b Turok.lua --- a/Turok.lua Tue Dec 15 08:07:21 2015 -0500 +++ b/Turok.lua Tue Dec 15 08:24:51 2015 -0500 @@ -3,7 +3,6 @@ local T = LibStub("AceAddon-3.0"):NewAddon("Turok", "AceConsole-3.0", "AceEvent-3.0") local _G = _G local rawset = _G.rawset -local time = GetTime() _G.Turok = T local print = function(...) --_G.print('Core', ...)