summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/client_lua_api.md2
-rw-r--r--doc/lua_api.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md
index 5be007c75..44c7c2787 100644
--- a/doc/client_lua_api.md
+++ b/doc/client_lua_api.md
@@ -628,7 +628,7 @@ Minetest namespace reference
reliable or verifyable. Compatible forks will have a different name and
version entirely. To check for the presence of engine features, test
whether the functions exported by the wanted features exist. For example:
- `if minetest.nodeupdate then ... end`.
+ `if minetest.check_for_falling then ... end`.
### Logging
* `minetest.debug(...)`
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 4c0b3db2a..13227260c 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2313,7 +2313,7 @@ Strings that need to be translated can contain several escapes, preceded by `@`.
reliable or verifyable. Compatible forks will have a different name and
version entirely. To check for the presence of engine features, test
whether the functions exported by the wanted features exist. For example:
- `if minetest.nodeupdate then ... end`.
+ `if minetest.check_for_falling then ... end`.
### Logging
* `minetest.debug(...)`