Browse Source

forgot about dre but not clippy

kill_counters
andy 3 years ago
parent
commit
a21fb5a644
  1. 4
      src/ship/drops/rare_drop_table.rs

4
src/ship/drops/rare_drop_table.rs

@ -170,8 +170,8 @@ impl RareDropTable {
self.rates.get(monster)
.and_then(|drop_rates| {
drop_rates.iter()
.filter_map(|drop_rate| {
Some(self.apply_item_stats(map_area, drop_rate.item, rng))
.map(|drop_rate| {
self.apply_item_stats(map_area, drop_rate.item, rng)
}).next()
})
}

Loading…
Cancel
Save