core.after: Improve assertion message (#8388)

This commit is contained in:
ANAND 2019-03-17 14:55:47 +05:30 committed by Nils Dagsson Moskopp
parent 6cf1909254
commit a07575bd51
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 1 deletions

View File

@ -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,