Add new code snippets
This commit is contained in:
6
Complete Projects/Legion/OneSecondTicker.lua
Normal file
6
Complete Projects/Legion/OneSecondTicker.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
--PLAYER_REGEN_DISABLED PLAYER_REGEN_ENABLED
|
||||
function()
|
||||
if not WeakAurasSaved.GlobalTicker then
|
||||
WeakAurasSaved.GlobalTicker = C_Timer.NewTicker(1, function() WeakAuras.ScanEvents("GLOBAL_TICKER") end)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user