--- a/gameServer2/src/server/server.rs Sun Jun 24 12:09:31 2018 -0400
+++ b/gameServer2/src/server/server.rs Tue Jun 26 23:22:38 2018 +0300
@@ -69,8 +69,7 @@
Destination::ToAll {protocol: Some(proto), ..} =>
self.protocol_clients(proto),
Destination::ToAll {..} =>
- self.clients.iter().map(|(id, _)| id).collect::<Vec<_>>(),
- _ => Vec::new()
+ self.clients.iter().map(|(id, _)| id).collect::<Vec<_>>()
};
if let Destination::ToAll {skip_self: true, ..} = destination {
if let Some(index) = ids.iter().position(|id| *id == client_id) {