Chatmode improvements
Blank lines appear often in chatmode so it is best played with blank line removal turned on, this is now forced. Its not compatible with Adventure mode, so they now turn each other off.
This commit is contained in:
parent
bbd68020a5
commit
88f6e8ca38
|
@ -1866,10 +1866,12 @@ def get_message(msg):
|
|||
refresh_settings()
|
||||
elif(msg['cmd'] == 'setadventure'):
|
||||
vars.adventure = msg['data']
|
||||
vars.chatmode = False
|
||||
settingschanged()
|
||||
refresh_settings()
|
||||
elif(msg['cmd'] == 'setchatmode'):
|
||||
vars.chatmode = msg['data']
|
||||
vars.adventure = False
|
||||
settingschanged()
|
||||
refresh_settings()
|
||||
elif(msg['cmd'] == 'setdynamicscan'):
|
||||
|
@ -2896,7 +2898,7 @@ def applyoutputformatting(txt):
|
|||
if(vars.formatoptns["frmttriminc"] and not vars.chatmode):
|
||||
txt = utils.trimincompletesentence(txt)
|
||||
# Replace blank lines
|
||||
if(vars.formatoptns["frmtrmblln"]):
|
||||
if(vars.formatoptns["frmtrmblln"] or vars.chatmode):
|
||||
txt = utils.replaceblanklines(txt)
|
||||
# Remove special characters
|
||||
if(vars.formatoptns["frmtrmspch"]):
|
||||
|
|
Loading…
Reference in New Issue