Skip to content

Commit

Permalink
fixup "fix oos when undoing after ally chat"
Browse files Browse the repository at this point in the history
this also caused errors later when saving replays because the server would concatinate all [turn] leading to dublicate undo=no attributes.
  • Loading branch information
gfgtdf committed Aug 21, 2018
1 parent 9171b1d commit 82faa02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game.cpp
Expand Up @@ -1998,7 +1998,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");
Expand Down

0 comments on commit 82faa02

Please sign in to comment.