Fix issue where GetTime was used instead of time()
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
-- TICKER_500
|
||||
function(e)
|
||||
local timeToKick = aura_env.KickTime - GetTime()
|
||||
local timeToKick = aura_env.KickTime - time()
|
||||
if timeToKick > 0 and timeToKick < 60 then
|
||||
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
||||
SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
||||
-- SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
||||
end
|
||||
return aura_env.KickTime > 0
|
||||
end
|
||||
Reference in New Issue
Block a user