forked from minetest-mods/xban2
Changed DB format from 2 space indent to tabs.
Requested by ShadowNinja.
This commit is contained in:
parent
8695476beb
commit
7409fd1be8
@ -10,7 +10,7 @@ end
|
|||||||
local function my_serialize_2(t, level)
|
local function my_serialize_2(t, level)
|
||||||
level = level or 0
|
level = level or 0
|
||||||
local lines = { }
|
local lines = { }
|
||||||
local indent = (" "):rep(level)
|
local indent = ("\t"):rep(level)
|
||||||
for k, v in pairs(t) do
|
for k, v in pairs(t) do
|
||||||
local typ = type(v)
|
local typ = type(v)
|
||||||
if typ == "table" then
|
if typ == "table" then
|
||||||
|
Loading…
Reference in New Issue
Block a user