diff options
author | Zughy <63455151+Zughy@users.noreply.github.com> | 2022-06-13 18:31:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 18:31:33 +0200 |
commit | 0f3f1a001c0dcaa91169bbc90900a47120bb2763 (patch) | |
tree | ff31c7f0995f80725020be22744a11ce2569a9ae | |
parent | 804c2559411fc1d03644a5eac2c37c7ea2ff79a7 (diff) | |
download | minetest-0f3f1a001c0dcaa91169bbc90900a47120bb2763.tar.gz minetest-0f3f1a001c0dcaa91169bbc90900a47120bb2763.tar.bz2 minetest-0f3f1a001c0dcaa91169bbc90900a47120bb2763.zip |
lua_api.txt: add missing backticks
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files 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`. |