aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorANAND <ClobberXD@gmail.com>2019-03-17 14:55:47 +0530
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-03-17 10:25:47 +0100
commitd50feb89debf209a11426b2e8f44d90d64ed6cc2 (patch)
treed77829e69228042971a95d27241580aff48fb26a /builtin
parent7f1c2b8a00ede0659746102762aeb1da487eb6f8 (diff)
downloadminetest-d50feb89debf209a11426b2e8f44d90d64ed6cc2.tar.gz
minetest-d50feb89debf209a11426b2e8f44d90d64ed6cc2.tar.bz2
minetest-d50feb89debf209a11426b2e8f44d90d64ed6cc2.zip
core.after: Improve assertion message (#8388)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/common/after.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/common/after.lua b/builtin/common/after.lua
index cdfaaab86..1bed2d31f 100644
--- a/builtin/common/after.lua
+++ b/builtin/common/after.lua
@@ -23,7 +23,7 @@ end)
function core.after(after, func, ...)
assert(tonumber(after) and type(func) == "function",
- "Invalid core.after invocation")
+ "Invalid minetest.after invocation")
jobs[#jobs + 1] = {
func = func,
expire = time + after,