store "reports out of sync errors" messages in server replays
This commit is contained in:
parent
4bbfe77445
commit
6d851aaca4
1 changed files with 1 additions and 1 deletions
|
@ -1768,7 +1768,7 @@ void server::handle_player_in_game(socket_ptr socket, std::shared_ptr<simple_wml
|
|||
if((*info)["type"] == "termination") {
|
||||
g.set_termination_reason((*info)["condition"].to_string());
|
||||
if((*info)["condition"].to_string() == "out of sync") {
|
||||
g.send_server_message_to_all(player.name() + " reports out of sync errors.");
|
||||
g.send_and_record_server_message(player.name() + " reports out of sync errors.");
|
||||
if(user_handler_){
|
||||
user_handler_->db_set_oos_flag(uuid_, g.id());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue