Fix documentation formatting for on_death callback
parent
ea1ae07beb
commit
c0dd4ea46a
|
@ -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)`
|
||||
|
|
Loading…
Reference in New Issue