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:
gfgtdf 2018-08-21 16:02:09 +02:00
parent 8fd1b822db
commit 144e8a1f8d

View file

@ -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");