consume pongs
authoralfadur
Tue, 04 Jun 2019 01:39:22 +0300
changeset 15118 7d6e519a88c5
parent 15117 6a1ba3540fa0
child 15119 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) {