Mercurial > wow > turok
diff Fog.lua @ 2:62f9b057c91b
use GetTime() directly
author | Nenue |
---|---|
date | Tue, 15 Dec 2015 08:24:51 -0500 |
parents | 766d8a40a1d6 |
children |
line wrap: on
line diff
--- 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