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

This commit is contained in:
upsilon 2020-04-29 18:06:17 +02:00
джерело f2de7c89b1
коміт 7ba7a5cceb
Не вдалося знайти GPG ключ що відповідає даному підпису
Ідентифікатор GPG ключа: A80DAE1F266E1C3C
1 змінених файлів з 1 додано та 1 видалено

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