gameServer2/src/server/server.rs
changeset 13520 1ee192f13456
parent 13478 d79795acaa73
child 13521 ba5211dddb21
--- 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<ClientId> {
+    pub fn protocol_clients(&self, protocol: u16) -> Vec<ClientId> {
         self.select_clients(|(_, c)| c.protocol_number == protocol)
     }