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

このコミットが含まれているのは:
upsilon 2020-04-29 18:06:17 +02:00
コミット 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 = {