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

This commit is contained in:
Bryan Bishop 2012-05-11 14:29:19 -05:00
parent f305b27025
commit 66b65c854b
1 changed files with 1 additions and 1 deletions

View File

@ -2228,7 +2228,7 @@ class MainText(TextCommand):
output += "@\"\n" output += "@\"\n"
new_line = True new_line = True
elif not in_quotes: elif not in_quotes:
if not was_comma: if not was_comma and not new_line:
output += ", " output += ", "
output += "\"@\"\n" output += "\"@\"\n"