Skip to content

Commit

Permalink
fix: cap effective miss count
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn committed Nov 1, 2024
1 parent 19609cb commit 98ca341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osu/performance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ impl<'map> OsuPerformance<'map> {
}

effective_miss_count = effective_miss_count.max(f64::from(state.misses));
effective_miss_count = effective_miss_count.min(f64::from(state.total_hits()));

let (n_slider_ends, n_slider_ticks) = if lazer {
(attrs.n_sliders, attrs.n_slider_ticks)
Expand Down

0 comments on commit 98ca341

Please sign in to comment.