Skip to content

Commit

Permalink
Fix documentation formatting for on_death callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezhh authored and rubenwardy committed Nov 28, 2017
1 parent ea1ae07 commit c0dd4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/lua_api.txt
Expand Up @@ -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)`
Expand Down

0 comments on commit c0dd4ea

Please sign in to comment.