Files
wow-weakauras/Complete Projects/Legion/PersonalCooldownAnnouncer/event2.lua

12 lines
455 B
Lua

-- PLAYER_ENTERING_WORLD GUILD_ROSTER_UPDATE
function(e)
if aura_env.debug then print(string.format("Current ticker: %s", tostring(aura_env.ticker))) end
if aura_env.ticker == nil then
if aura_env.debug then print("Creating ticker") end
local aura_env = aura_env
aura_env.ticker = C_Timer.NewTicker(0.5, function()
if aura_env.debug then print("Ticker calling CYKA_EVENT_TICKER") end
WeakAuras.ScanEvents("CYKA_EVENT_TICKER")
end)
end
end