mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Fix and extend minetest.after(time, func, param)
This commit is contained in:
parent
37b64ff616
commit
fa24e6b995
2 changed files with 15 additions and 14 deletions
|
@ -467,8 +467,9 @@ minetest.sound_play(spec, parameters) -> handle
|
|||
^ parameters = sound parameter table
|
||||
minetest.sound_stop(handle)
|
||||
|
||||
minetest.after(time, func)
|
||||
minetest.after(time, func, param)
|
||||
^ Call function after time seconds
|
||||
^ param is optional; to pass multiple parameters, pass a table.
|
||||
|
||||
Global objects:
|
||||
minetest.env - environment reference
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue