MapDataStorage: replace "%a" format with "%.17g"

Esse commit está contido em:
upsilon 2020-04-29 18:06:17 +02:00
commit 7ba7a5cceb
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: A80DAE1F266E1C3C
1 arquivos alterados com 1 adições e 1 exclusões

Ver arquivo

@ -240,7 +240,7 @@ MapDataStorage.__index = {
local vi = node_position_key(pos)
-- Convert the double reversible to a string;
-- minetest.serialize does not (yet) do this
indices[i] = ("%a"):format(vi)
indices[i] = ("%.17g"):format(vi)
values[i] = v
end
result = {