forked from minetest-mods/MoreMesecons
MapDataStorage: replace "%a" format with "%.17g"
This commit is contained in:
parent
f2de7c89b1
commit
7ba7a5cceb
@ -240,7 +240,7 @@ MapDataStorage.__index = {
|
|||||||
local vi = node_position_key(pos)
|
local vi = node_position_key(pos)
|
||||||
-- Convert the double reversible to a string;
|
-- Convert the double reversible to a string;
|
||||||
-- minetest.serialize does not (yet) do this
|
-- minetest.serialize does not (yet) do this
|
||||||
indices[i] = ("%a"):format(vi)
|
indices[i] = ("%.17g"):format(vi)
|
||||||
values[i] = v
|
values[i] = v
|
||||||
end
|
end
|
||||||
result = {
|
result = {
|
||||||
|
Loading…
Reference in New Issue
Block a user