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

这个提交包含在:
upsilon 2020-04-29 18:06:17 +02:00
父节点 f2de7c89b1
当前提交 7ba7a5cceb
找不到此签名对应的密钥
GPG 密钥 ID: 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 = {