aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzhh <owlecho@live.com>2017-11-28 00:38:35 +0000
committerrubenwardy <rubenwardy@gmail.com>2017-11-28 00:38:35 +0000
commitc0dd4ea46acc37e873c28776142a57945f776d0b (patch)
tree27669aefe3ef4274f4521e5977b08f3da2004618
parentea1ae07beb4c65b29a356c64971e49249f7c5118 (diff)
downloadminetest-c0dd4ea46acc37e873c28776142a57945f776d0b.tar.gz
minetest-c0dd4ea46acc37e873c28776142a57945f776d0b.tar.bz2
minetest-c0dd4ea46acc37e873c28776142a57945f776d0b.zip
Fix documentation formatting for on_death callback
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b90a3974e..72dbc087a 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -4222,7 +4222,7 @@ Registered entities
* `tool_capabilities`: capability table of used tool (can be `nil`)
* `dir`: unit vector of direction of punch. Always defined. Points from
the puncher to the punched.
- `on_death(self, killer)`
+ * `on_death(self, killer)`
* Called when the object dies.
* `killer`: an `ObjectRef` (can be `nil`)
* `on_rightclick(self, clicker)`