Fix isNan on setYaw Lua call (#7380)

* Fix isNan on setYaw Lua call
This commit is contained in:
Loïc Blot
2018-05-31 22:52:08 +02:00
committed by GitHub
parent df991edaa8
commit 162ffd7fba
7 changed files with 30 additions and 1 deletions

View File

@@ -609,6 +609,8 @@ Helper functions
* Converts a string representing an area box into two positions
* `minetest.is_yes(arg)`
* returns whether `arg` can be interpreted as yes
* `minetest.is_nan(arg)`
* returns true true when the passed number represents NaN.
* `table.copy(table)`: returns a table
* returns a deep copy of `table`

View File

@@ -2541,6 +2541,8 @@ Helper functions
in formspecs.
* `minetest.is_yes(arg)`
* returns true if passed 'y', 'yes', 'true' or a number that isn't zero.
* `minetest.is_nan(arg)`
* returns true when the passed number represents NaN.
* `minetest.get_us_time()`
* returns time with microsecond precision. May not return wall time.
* `table.copy(table)`: returns a table