Skip to content
Permalink
Browse files
core.after: Improve assertion message (#8388)
  • Loading branch information
ClobberXD authored and SmallJoker committed Mar 17, 2019
1 parent 7f1c2b8 commit d50feb89debf209a11426b2e8f44d90d64ed6cc2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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,

0 comments on commit d50feb8

Please sign in to comment.