Diff

util/serialization.lua @ 1131:83a150e3b3bb

Merge with 0.4
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2009 21:45:25 +0100
parent 1128:b2e548344d61
child 1135:355f9487ab38
line wrap: on
line diff
--- a/util/serialization.lua	Tue May 05 21:13:09 2009 +0500
+++ b/util/serialization.lua	Wed May 06 21:45:25 2009 +0100
@@ -52,7 +52,8 @@
 	elseif type(o) == "boolean" then
 		func(t, (o and "true" or "false"));
 	else
-		log("warn", "cannot serialize a %s: %s", type(o), debug_traceback())
+		log("error", "cannot serialize a %s: %s", type(o), debug_traceback())
+		func(t, "nil,\n");
 	end
 end