diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-27 08:17:42 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-27 08:17:42 +0300 |
commit | fa24e6b99581d56fd1a898d9eae7764a1cb48041 (patch) | |
tree | b0744ca62264a796f1776e5c5bbb859389e6821f /doc/lua_api.txt | |
parent | 37b64ff616df3475e228d6beb3727de2afd2b6c2 (diff) | |
download | minetest-fa24e6b99581d56fd1a898d9eae7764a1cb48041.tar.gz minetest-fa24e6b99581d56fd1a898d9eae7764a1cb48041.tar.bz2 minetest-fa24e6b99581d56fd1a898d9eae7764a1cb48041.zip |
Fix and extend minetest.after(time, func, param)
Diffstat (limited to 'doc/lua_api.txt')
-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 |