Skip to content
Snippets Groups Projects
Commit 3a95054d authored by Rui's avatar Rui Committed by Ner'zhul
Browse files

Fix typo in core.after (#4560)

parent c0e56c60
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment