diff --git a/src/ship/packet/handler/communication.rs b/src/ship/packet/handler/communication.rs index 57e519d..57a9a79 100644 --- a/src/ship/packet/handler/communication.rs +++ b/src/ship/packet/handler/communication.rs @@ -18,7 +18,6 @@ pub fn player_chat(id: ClientId, } pub fn request_infoboard(id: ClientId, - _request_infoboard: &ViewInfoboardRequest, client_location: &ClientLocation, clients: &Clients) -> Box + Send> { diff --git a/src/ship/ship.rs b/src/ship/ship.rs index 71ebbf5..dff63b9 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -306,7 +306,7 @@ impl ServerState for ShipServerState { handler::settings::update_config(id, pkt, &mut self.clients, &mut self.entity_gateway) }, RecvShipPacket::ViewInfoboardRequest(pkt) => { - handler::communication::request_infoboard(id, pkt, &self.client_location, &self.clients) + handler::communication::request_infoboard(id, &self.client_location, &self.clients) }, RecvShipPacket::WriteInfoboard(pkt) => { handler::communication::write_infoboard(id, pkt, &mut self.clients, &mut self.entity_gateway)