diff options
author | Jeija <norrepli@gmail.com> | 2013-02-11 09:58:58 +0100 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-03-17 00:23:30 -0400 |
commit | fc5d2074b99d22022d2bf8e693351274bc3f6d09 (patch) | |
tree | 6e2f989012bb793a821dc5b505ef98cab58b03fe /doc | |
parent | 10c03e1a9d09ba0369ea3fbff1ec3a9436a3b706 (diff) | |
download | minetest-fc5d2074b99d22022d2bf8e693351274bc3f6d09.tar.gz minetest-fc5d2074b99d22022d2bf8e693351274bc3f6d09.tar.bz2 minetest-fc5d2074b99d22022d2bf8e693351274bc3f6d09.zip |
Allow minetest.after to take a variable number of arguments
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 809d3d9d0..eb05d117e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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 |