diff --git a/time.lua b/time.lua index 038db9a..ae81253 100644 --- a/time.lua +++ b/time.lua @@ -69,7 +69,7 @@ local function newTimerRegistry() local d = delayed for func, t in pairs(d) do - if all(t.initWhen, true) then + if t and all(t.initWhen, true) then t.initWhen = {} local co = t.coroutine t.after = t.after - dt