Merge: Better name formatting for chatmode

This commit is contained in:
henk717 2022-03-04 18:24:39 +01:00 committed by GitHub
commit 657de72ada
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):
data = re.sub(r'\n+', ' ', data)
if(len(data)):
data = f"\n{vars.chatname} : {data}\n"
data = f"\n{vars.chatname}: {data}\n"
# </s> mode
if(vars.newlinemode == "s"):