Browse Source

this changed in libpso

pbs
jake 5 years ago
parent
commit
efba98124c
  1. 2
      src/ship/packet/handler/message.rs
  2. 2
      src/ship/ship.rs

2
src/ship/packet/handler/message.rs

@ -25,7 +25,7 @@ pub fn request_exp(id: ClientId,
}
pub fn player_drop_item<EG>(id: ClientId,
player_drop_item: &PlayerDropItem2,
player_drop_item: &PlayerDropItem,
entity_gateway: &mut EG,
client_location: &ClientLocation,
clients: &mut Clients,

2
src/ship/ship.rs

@ -205,7 +205,7 @@ impl<EG: EntityGateway> ShipServerState<EG> {
GameMessage::RequestExp(request_exp) => {
handler::message::request_exp(id, request_exp, &self.client_location, &self.rooms)
},
GameMessage::PlayerDropItem2(player_drop_item) => {
GameMessage::PlayerDropItem(player_drop_item) => {
handler::message::player_drop_item(id, player_drop_item, &mut self.entity_gateway, &mut self.client_location, &mut self.clients, &mut self.rooms, &mut self.item_manager).unwrap()
},
_ => {

Loading…
Cancel
Save