From 2189bee2f5372dc796348d6b6660db7c5e43b1f6 Mon Sep 17 00:00:00 2001 From: duncathan Date: Fri, 28 Feb 2020 15:23:59 -0600 Subject: [PATCH] more fix --- src/settings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings.lua b/src/settings.lua index 0915fa6..41696ed 100644 --- a/src/settings.lua +++ b/src/settings.lua @@ -24,8 +24,8 @@ function C:serialize() line = line .. ("csdirectory = [[%s]],\r\n "):format(self.settings.csdirectory or "") line = line .. ("puppy = %s,\r\n "):format(self.settings.puppy) - line = line .. ("obj = %q,\r\n "):format(self.settings.obj) - line = line .. ("mychar = %q,\r\n "):format(self.settings.mychar) + line = line .. ("obj = %q,\r\n "):format(self.settings.obj or "") + line = line .. ("mychar = %q,\r\n "):format(self.settings.mychar or "") line = line .. "\r\n}" return line