projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e56c6
)
Fix typo in core.after (#4560)
author
Rui
<Rui-Minetest@users.noreply.github.com>
Sat, 1 Oct 2016 14:16:50 +0000
(23:16 +0900)
committer
Ner'zhul
<nerzhul@users.noreply.github.com>
Sat, 1 Oct 2016 14:16:50 +0000
(16:16 +0200)
builtin/game/misc.lua
patch
|
blob
|
history
diff --git
a/builtin/game/misc.lua
b/builtin/game/misc.lua
index d7164812aaa4c5046bcb1c0fa6f23b8e2171aab0..1333a75ba21edf6c6b3b1e145229cfdfdb1a61af 100644
(file)
--- a/
builtin/game/misc.lua
+++ b/
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,