fixup "fix oos when undoing after ally chat"
this also caused errors later when saving replays because the server would concatinate all [turn] leading to dublicate undo=no attributes.
This commit is contained in:
parent
8fd1b822db
commit
144e8a1f8d
1 changed files with 1 additions and 1 deletions
|
@ -1997,7 +1997,7 @@ void game::send_server_message(const char* message, const socket_ptr& sock, simp
|
|||
if(started_) {
|
||||
simple_wml::node& cmd = doc.root().add_child("turn");
|
||||
simple_wml::node& cfg = cmd.add_child("command");
|
||||
cmd.set_attr("undo", "no");
|
||||
cfg.set_attr("undo", "no");
|
||||
simple_wml::node& msg = cfg.add_child("speak");
|
||||
|
||||
msg.set_attr("id", "server");
|
||||
|
|
Loading…
Add table
Reference in a new issue