rust/hedgewars-server/src/handlers.rs
changeset 15543 02f648f7cbe1
parent 15534 bb93e9642b5b
child 15804 747278149393
equal deleted inserted replaced
15542:3b0b6ce76303 15543:02f648f7cbe1
   458             } else {
   458             } else {
   459                 ReplayStart
   459                 ReplayStart
   460             };
   460             };
   461             response.add(start_msg.send_self());
   461             response.add(start_msg.send_self());
   462 
   462 
   463             common::get_room_config_impl(&replay.config, client_id, response);
   463             common::get_room_config_impl(&replay.config, Destination::ToSelf, response);
   464             common::get_teams(replay.teams.iter(), client_id, response);
   464             common::get_teams(replay.teams.iter(), Destination::ToSelf, response);
   465             response.add(RunGame.send_self());
   465             response.add(RunGame.send_self());
   466             response.add(ForwardEngineMessage(replay.message_log).send_self());
   466             response.add(ForwardEngineMessage(replay.message_log).send_self());
   467 
   467 
   468             if protocol < 58 {
   468             if protocol < 58 {
   469                 response.add(Kicked.send_self());
   469                 response.add(Kicked.send_self());