From 5c90076f22e1d92643a0dfb6d4514a0fc4f85699 Mon Sep 17 00:00:00 2001 From: Reuh Date: Fri, 7 Apr 2017 13:37:08 +0200 Subject: [PATCH] Fix nil ref --- time.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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