forgot about dre but not clippy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
andy 2022-05-27 21:24:52 +00:00
parent e075de3259
commit a21fb5a644

View File

@ -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()
})
}