mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Fix minetest.is_nan
This commit is contained in:
parent
74762470b2
commit
8f72d4b294
3 changed files with 4 additions and 14 deletions
|
@ -697,3 +697,7 @@ function core.privs_to_string(privs, delim)
|
|||
end
|
||||
return table.concat(list, delim)
|
||||
end
|
||||
|
||||
function core.is_nan(number)
|
||||
return number ~= number
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue