author | alfadur |
Sat, 13 Apr 2019 00:27:48 +0300 | |
changeset 14801 | da0cfeee9d96 |
parent 14800 | 2107fd023733 |
child 14802 | a40139603cde |
--- a/rust/hedgewars-server/src/server/handlers/common.rs Sat Apr 13 00:16:23 2019 +0300 +++ b/rust/hedgewars-server/src/server/handlers/common.rs Sat Apr 13 00:27:48 2019 +0300 @@ -76,6 +76,7 @@ server .rooms .iter() + .filter(|(_, r)| r.protocol_number == client.protocol_number) .flat_map(|(_, r)| r.info(r.master_id.map(|id| &server.clients[id]))) .collect(), );