Skip to content

Commit

Permalink
Fix typo in core.after (#4560)
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.