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