Fix minetest.is_nan
This commit is contained in:
parent
3954bd96f9
commit
62d34be234
|
@ -697,3 +697,7 @@ function core.privs_to_string(privs, delim)
|
||||||
end
|
end
|
||||||
return table.concat(list, delim)
|
return table.concat(list, delim)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function core.is_nan(number)
|
||||||
|
return number ~= number
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue