From 162ffd7fba9d4e79a29f65686f3efbebaee9cee8 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Thu, 31 May 2018 22:52:08 +0200 Subject: Fix isNan on setYaw Lua call (#7380) * Fix isNan on setYaw Lua call --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 13ba492a7..12008d0e8 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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 -- cgit v1.2.3