From: ANAND Date: Sun, 17 Mar 2019 09:25:47 +0000 (+0530) Subject: core.after: Improve assertion message (#8388) X-Git-Tag: 5.1.0~270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d50feb89debf209a11426b2e8f44d90d64ed6cc2;p=oweals%2Fminetest.git core.after: Improve assertion message (#8388) --- 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,