diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index bfde0a870..3a5927e9c 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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 |