|
@ -82,7 +82,6 @@ where |
|
|
let client_and_drop = clients_in_area.into_iter()
|
|
|
let client_and_drop = clients_in_area.into_iter()
|
|
|
.filter_map(|area_client| {
|
|
|
.filter_map(|area_client| {
|
|
|
room.drop_table.get_drop(&monster.map_area, &monster.monster).map(|item_drop_type| {
|
|
|
room.drop_table.get_drop(&monster.map_area, &monster.monster).map(|item_drop_type| {
|
|
|
warn!("drop is? {:?}", item_drop_type);
|
|
|
|
|
|
(area_client, item_drop_type)
|
|
|
(area_client, item_drop_type)
|
|
|
})
|
|
|
})
|
|
|
});
|
|
|
});
|
|
@ -180,7 +179,6 @@ EG: EntityGateway |
|
|
let client_and_drop = clients_in_area.into_iter()
|
|
|
let client_and_drop = clients_in_area.into_iter()
|
|
|
.filter_map(|area_client| {
|
|
|
.filter_map(|area_client| {
|
|
|
room.drop_table.get_box_drop(&box_object.map, &box_object).map(|item_drop_type| {
|
|
|
room.drop_table.get_box_drop(&box_object.map, &box_object).map(|item_drop_type| {
|
|
|
warn!("drop is? {:?}", item_drop_type);
|
|
|
|
|
|
(area_client, item_drop_type)
|
|
|
(area_client, item_drop_type)
|
|
|
})
|
|
|
})
|
|
|
});
|
|
|
});
|
|
|