projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00123ee
)
Fix the documentation for `minetest.is_yes` (#5276)
author
red-001
<red-001@outlook.ie>
Sun, 19 Feb 2017 16:11:53 +0000
(16:11 +0000)
committer
Zeno-
<kde.psych@gmail.com>
Sun, 19 Feb 2017 16:11:53 +0000
(
02:11
+1000)
doc/lua_api.txt
patch
|
blob
|
history
diff --git
a/doc/lua_api.txt
b/doc/lua_api.txt
index 0245ee7bde037fa057f09679e9bee7de9fd431ca..9c96c41db2a180e1218c7ca6e873d0005660c3eb 100644
(file)
--- 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)`
* `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
* `minetest.get_us_time()`
* returns time with microsecond precision. May not return wall time.
* `table.copy(table)`: returns a table