fix oos when undoing after ally chat 2
for extra safety we add code to ensure undo=no for [speak] commands to the client aswell, this is not really needed as i just added a code that sets undo=yes to the server code, but it's an advantage to be able to safely connect to older servers aswell.
This commit is contained in:
parent
02bed5c033
commit
c685031d1c
1 changed files with 3 additions and 0 deletions
|
@ -649,6 +649,9 @@ void replay::add_config(const config& cfg, MARK_SENT mark)
|
|||
if(mark == MARK_AS_SENT) {
|
||||
cmd_cfg["sent"] = true;
|
||||
}
|
||||
if(cmd_cfg.has_child("speak")) {
|
||||
cmd_cfg["undo"] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
bool replay::add_start_if_not_there_yet()
|
||||
|
|
Loading…
Add table
Reference in a new issue