diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/game/misc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index d7164812a..1333a75ba 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -38,7 +38,7 @@ core.register_globalstep(function(dtime) end) function core.after(after, func, ...) - assert(tonumber(time) and type(func) == "function", + assert(tonumber(after) and type(func) == "function", "Invalid core.after invocation") jobs[#jobs + 1] = { func = func, |