Merge pull request #1 from MrReplikant/MrReplikant-patch-1
Fixed unnecessary spacing in chatmode
This commit is contained in:
commit
ff1be78f72
|
@ -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"):
|
||||||
|
|
Loading…
Reference in New Issue