1
0
Fork 0
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:
Lars Mueller 2020-12-24 14:48:05 +01:00 committed by sfan5
parent 74762470b2
commit 8f72d4b294
3 changed files with 4 additions and 14 deletions

View file

@ -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