Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo in core.after (#4560)
  • Loading branch information
Rui authored and nerzhul committed Oct 1, 2016
1 parent c0e56c6 commit 3a95054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/game/misc.lua
Expand Up @@ -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,
Expand Down

0 comments on commit 3a95054

Please sign in to comment.