Browse Source

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

master
upsilon 1 month ago
parent
commit
7ba7a5cceb
No known key found for this signature in database GPG Key ID: A80DAE1F266E1C3C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      moremesecons_utils/init.lua

+ 1
- 1
moremesecons_utils/init.lua View File

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


Loading…
Cancel
Save