aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-09-09 12:05:38 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-09-09 12:05:38 +0300
commitac628c9b0ab8c69313b3fe401384ecd0fc20eb14 (patch)
tree9497875d7c9bcb201b010548503c3b3b76b60392 /doc
parent9696ed31a41b5e3ca85bad4a29c190a0d25c7752 (diff)
downloadminetest-ac628c9b0ab8c69313b3fe401384ecd0fc20eb14.tar.gz
minetest-ac628c9b0ab8c69313b3fe401384ecd0fc20eb14.tar.bz2
minetest-ac628c9b0ab8c69313b3fe401384ecd0fc20eb14.zip
Fix ObjectRef:punch()
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b71b6d62c..782378c1f 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1087,6 +1087,7 @@ methods:
- punch(puncher, time_from_last_punch, tool_capabilities, direction)
^ puncher = an another ObjectRef,
^ time_from_last_punch = time since last punch action of the puncher
+ ^ direction: can be nil
- right_click(clicker); clicker = an another ObjectRef
- get_hp(): returns number of hitpoints (2 * number of hearts)
- set_hp(hp): set number of hitpoints (2 * number of hearts)