diff options
author | red-001 <red-001@outlook.ie> | 2017-02-19 16:11:53 +0000 |
---|---|---|
committer | Zeno- <kde.psych@gmail.com> | 2017-02-20 02:11:53 +1000 |
commit | 01b2d2c66c9095341554400ba67505b137ec1d86 (patch) | |
tree | 65db16246cddc501e8e587ae56fcc7eb15939c3f | |
parent | 00123ee04d19ecc98e0a6a9255e5697a78167360 (diff) | |
download | minetest-01b2d2c66c9095341554400ba67505b137ec1d86.tar.gz minetest-01b2d2c66c9095341554400ba67505b137ec1d86.tar.bz2 minetest-01b2d2c66c9095341554400ba67505b137ec1d86.zip |
Fix the documentation for `minetest.is_yes` (#5276)
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 0245ee7bd..9c96c41db 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1914,7 +1914,7 @@ Helper functions * `minetest.formspec_escape(string)`: returns a string * escapes the characters "[", "]", "\", "," and ";", which can not be used in formspecs * `minetest.is_yes(arg)` - * returns whether `arg` can be interpreted as yes + * returns true if passed 'y', 'yes', 'true' or a number that isn't zero. * `minetest.get_us_time()` * returns time with microsecond precision. May not return wall time. * `table.copy(table)`: returns a table |