Fix issue where GetTime was used instead of time()

This commit is contained in:
2024-03-30 19:24:37 +01:00
parent 169a1c580d
commit ff03b47444
5 changed files with 7 additions and 7 deletions

View File

@@ -2,8 +2,8 @@
function(e, msg)
if msg == nil then return false end
if string.find(msg, "You are now Away") then
aura_env.KickTime = GetTime() + 25 * 60
aura_env.AfkSince = GetTime()
aura_env.KickTime = time() + 10 * 60
aura_env.AfkSince = time()
return true
end
if string.find(msg, "You are no longer Away") then