consume pongs
authoralfadur
Tue, 04 Jun 2019 01:39:22 +0300
changeset 15134 7d6e519a88c5
parent 15133 6a1ba3540fa0
child 15135 a7841105493e
consume pongs
rust/hedgewars-server/src/handlers.rs
--- a/rust/hedgewars-server/src/handlers.rs	Tue Jun 04 01:32:08 2019 +0300
+++ b/rust/hedgewars-server/src/handlers.rs	Tue Jun 04 01:39:22 2019 +0300
@@ -200,6 +200,7 @@
 ) {
     match message {
         HwProtocolMessage::Ping => response.add(Pong.send_self()),
+        HwProtocolMessage::Pong => (),
         _ => {
             if server.anteroom.clients.contains(client_id) {
                 match inanteroom::handle(server, client_id, response, message) {