Fix typo in core.after (#4560)

This commit is contained in:
Rui 2016-10-01 23:16:50 +09:00 committed by Ner'zhul
parent c0e56c6011
commit 3a95054db5

@ -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,