Merge pull request #1 from MrReplikant/MrReplikant-patch-1

Fixed unnecessary spacing in chatmode
This commit is contained in:
MrReplikant 2022-03-04 08:46:43 -06:00 committed by GitHub
commit ff1be78f72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2402,7 +2402,7 @@ def actionsubmit(data, actionmode=0, force_submit=False, force_prompt_gen=False,
if(vars.chatmode and vars.gamestarted): if(vars.chatmode and vars.gamestarted):
data = re.sub(r'\n+', ' ', data) data = re.sub(r'\n+', ' ', data)
if(len(data)): if(len(data)):
data = f"\n{vars.chatname} : {data}\n" data = f"\n{vars.chatname}: {data}\n"
# </s> mode # </s> mode
if(vars.newlinemode == "s"): if(vars.newlinemode == "s"):