Fix documentation formatting for on_death callback
authorEzhh <owlecho@live.com>
Tue, 28 Nov 2017 00:38:35 +0000 (00:38 +0000)
committerrubenwardy <rubenwardy@gmail.com>
Tue, 28 Nov 2017 00:38:35 +0000 (00:38 +0000)
doc/lua_api.txt

index b90a3974e8f2e61345403cb07eccba343e900020..72dbc087a2ff866042746ce77907d7ba7fe493b5 100644 (file)
@@ -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)`