diff -r c85b324c4c2d -r 1ee192f13456 gameServer2/src/server/server.rs --- a/gameServer2/src/server/server.rs Thu Jul 12 14:46:16 2018 +0200 +++ b/gameServer2/src/server/server.rs Fri Jul 13 19:52:19 2018 +0300 @@ -124,7 +124,7 @@ self.select_clients(|(_, c)| c.room_id == Some(room_id)) } - pub fn protocol_clients(&self, protocol: u32) -> Vec { + pub fn protocol_clients(&self, protocol: u16) -> Vec { self.select_clients(|(_, c)| c.protocol_number == protocol) }