mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix typo in core.after (#4560)
This commit is contained in:
@@ -38,7 +38,7 @@ core.register_globalstep(function(dtime)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
function core.after(after, func, ...)
|
function core.after(after, func, ...)
|
||||||
assert(tonumber(time) and type(func) == "function",
|
assert(tonumber(after) and type(func) == "function",
|
||||||
"Invalid core.after invocation")
|
"Invalid core.after invocation")
|
||||||
jobs[#jobs + 1] = {
|
jobs[#jobs + 1] = {
|
||||||
func = func,
|
func = func,
|
||||||
|
Reference in New Issue
Block a user