Skip to content
Permalink
Browse files

Fix typo in core.after (#4560)

  • Loading branch information
Rui authored and nerzhul committed Oct 1, 2016
1 parent c0e56c6 commit 3a95054db5c44a3fea6a27d5633f668539e67870
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,

0 comments on commit 3a95054

Please sign in to comment.