fix a TextScript/MainText bug where '@' on a newline had an extra comma/param to db

original-commit-id: 66b65c854b09545fa24973e41bc2fe250a4dd068
This commit is contained in:
Bryan Bishop
2012-05-11 14:29:19 -05:00
parent 3bbe68dbfa
commit 7d420327f2

View File

@@ -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"