equal
deleted
inserted
replaced
603 Some((id, _)) if id == client_id => response |
603 Some((id, _)) if id == client_id => response |
604 .add(Warning("You're already the room master.".to_string()).send_self()), |
604 .add(Warning("You're already the room master.".to_string()).send_self()), |
605 Some((_, id)) if id != Some(room_id) => response |
605 Some((_, id)) if id != Some(room_id) => response |
606 .add(Warning("The player is not in your room.".to_string()).send_self()), |
606 .add(Warning("The player is not in your room.".to_string()).send_self()), |
607 Some((id, _)) => { |
607 Some((id, _)) => { |
608 super::common::change_master(server, client_id, id, room_id, response); |
608 super::common::change_master(server, room_id, id, response); |
609 } |
609 } |
610 } |
610 } |
611 } |
611 } |
612 } |
612 } |
613 _ => warn!("Unimplemented!"), |
613 _ => warn!("Unimplemented!"), |