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

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"