Skip to content

Commit 3a95054

Browse files
Ruinerzhul
Rui
authored andcommittedOct 1, 2016
Fix typo in core.after (#4560)
1 parent c0e56c6 commit 3a95054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎builtin/game/misc.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ core.register_globalstep(function(dtime)
3838
end)
3939

4040
function core.after(after, func, ...)
41-
assert(tonumber(time) and type(func) == "function",
41+
assert(tonumber(after) and type(func) == "function",
4242
"Invalid core.after invocation")
4343
jobs[#jobs + 1] = {
4444
func = func,

0 commit comments

Comments
 (0)