remove unused infoboard packet
This commit is contained in:
		
							parent
							
								
									d421b30a88
								
							
						
					
					
						commit
						5393baeca7
					
				| @ -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<dyn Iterator<Item = (ClientId, SendShipPacket)> + Send> { | ||||
|  | ||||
| @ -306,7 +306,7 @@ impl<EG: EntityGateway> ServerState for ShipServerState<EG> { | ||||
|                 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) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user