From 66b65c854b09545fa24973e41bc2fe250a4dd068 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Fri, 11 May 2012 14:29:19 -0500 Subject: [PATCH] fix a TextScript/MainText bug where '@' on a newline had an extra comma/param to db --- extras/crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/crystal.py b/extras/crystal.py index 0e0c92821..a00b8ebd8 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -2228,7 +2228,7 @@ class MainText(TextCommand): output += "@\"\n" new_line = True elif not in_quotes: - if not was_comma: + if not was_comma and not new_line: output += ", " output += "\"@\"\n"