mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Allow minetest.after to take a variable number of arguments
This commit is contained in:
parent
10c03e1a9d
commit
fc5d2074b9
2 changed files with 5 additions and 5 deletions
|
@ -977,9 +977,9 @@ minetest.sound_play(spec, parameters) -> handle
|
|||
minetest.sound_stop(handle)
|
||||
|
||||
Timing:
|
||||
minetest.after(time, func, param)
|
||||
minetest.after(time, func, ...)
|
||||
^ Call function after time seconds
|
||||
^ param is optional; to pass multiple parameters, pass a table.
|
||||
^ Optional: Variable number of arguments that are passed to func
|
||||
|
||||
Server:
|
||||
minetest.request_shutdown() -> request for server shutdown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue