aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index be63673e..71c0fe86 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -43,7 +43,7 @@ local function simplesave (f, o)
elseif type(o) == "table" then
f:write("{\n")
for k,v in pairs(o) do
- f:write(" [", format("%q", k), "] = ")
+ f:write(" [", basicSerialize(k), "] = ")
simplesave(f, v)
f:write(",\n")
end