diff options
author | Diego MartÃnez <kaeza@users.sf.net> | 2013-06-16 03:06:41 -0300 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-06-18 19:55:53 +0000 |
commit | e65ac4d626f69656c57c07e4df1a1113a014f34a (patch) | |
tree | 977868f91ed87e3d7e63bfb56b9d5a1208922186 /builtin | |
parent | 26165453d284b5b4a876722c732bbe95572b52ab (diff) | |
download | minetest-e65ac4d626f69656c57c07e4df1a1113a014f34a.tar.gz minetest-e65ac4d626f69656c57c07e4df1a1113a014f34a.tar.bz2 minetest-e65ac4d626f69656c57c07e4df1a1113a014f34a.zip |
Restore old output format of dump()
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/misc_helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/misc_helpers.lua b/builtin/misc_helpers.lua index 526be0492..743a9cfd3 100644 --- a/builtin/misc_helpers.lua +++ b/builtin/misc_helpers.lua @@ -57,7 +57,7 @@ function dump(o, dumped) dumped[o] = true local t = {} for k,v in pairs(o) do - t[#t+1] = "" .. dump(k, dumped) .. " = " .. dump(v, dumped) + t[#t+1] = "[" .. dump(k, dumped) .. "] = " .. dump(v, dumped) end return "{" .. table.concat(t, ", ") .. "}" elseif type(o) == "boolean" then |