summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui <Rui-Minetest@users.noreply.github.com>2016-10-01 23:16:50 +0900
committerNer'zhul <nerzhul@users.noreply.github.com>2016-10-01 16:16:50 +0200
commit3a95054db5c44a3fea6a27d5633f668539e67870 (patch)
tree9c1afd5a7d1f1b2665a1250d737cb75afe7f7ec1
parentc0e56c6011fa6252a33894c560f8a16445466b8b (diff)
downloadminetest-3a95054db5c44a3fea6a27d5633f668539e67870.tar.gz
minetest-3a95054db5c44a3fea6a27d5633f668539e67870.tar.bz2
minetest-3a95054db5c44a3fea6a27d5633f668539e67870.zip
Fix typo in core.after (#4560)
-rw-r--r--builtin/game/misc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua
index d7164812a..1333a75ba 100644
--- 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,