From 0f3f1a001c0dcaa91169bbc90900a47120bb2763 Mon Sep 17 00:00:00 2001 From: Zughy <63455151+Zughy@users.noreply.github.com> Date: Mon, 13 Jun 2022 18:31:33 +0200 Subject: [PATCH] lua_api.txt: add missing backticks --- doc/lua_api.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 1ab339879..eeb62b495 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1191,7 +1191,7 @@ Look for examples in `games/devtest` or `games/minetest_game`. used to compensate for how `glasslike` reduces visual thickness. * `torchlike` * A single vertical texture. - * If `paramtype2="[color]wallmounted": + * If `paramtype2="[color]wallmounted"`: * If placed on top of a node, uses the first texture specified in `tiles`. * If placed against the underside of a node, uses the second texture specified in `tiles`. @@ -1203,7 +1203,7 @@ Look for examples in `games/devtest` or `games/minetest_game`. * `signlike` * A single texture parallel to, and mounted against, the top, underside or side of a node. - * If `paramtype2="[color]wallmounted", it rotates according to `param2` + * If `paramtype2="[color]wallmounted"`, it rotates according to `param2` * If `paramtype2="none"`, it will always be on the floor. * `plantlike` * Two vertical and diagonal textures at right-angles to each other. @@ -4547,7 +4547,7 @@ Callbacks: * Called when the object is instantiated. * `dtime_s` is the time passed since the object was unloaded, which can be used for updating the entity state. -* `on_deactivate(self, removal) +* `on_deactivate(self, removal)` * Called when the object is about to get removed or unloaded. * `removal`: boolean indicating whether the object is about to get removed. Calling `object:remove()` on an active object will call this with `removal=true`.