diff options
Diffstat (limited to 'serialize_lib')
-rw-r--r-- | serialize_lib/serialize.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize_lib/serialize.lua b/serialize_lib/serialize.lua index 436bf18..a525e9e 100644 --- a/serialize_lib/serialize.lua +++ b/serialize_lib/serialize.lua @@ -88,8 +88,8 @@ function value_to_string(t) elseif type(t)=="string" then return "S"..escape_chars(t) else - file:close() - error("Can not serialize '"..type(t).."' type!") + --error("Can not serialize '"..type(t).."' type!") + return "S<function>" end return str end |