remove clock rate from strains section length

This commit is contained in:
MaxOhn
2022-10-26 22:17:12 +02:00
parent 533ff8c960
commit 007410192b
5 changed files with 8 additions and 9 deletions
+1 -2
View File
@@ -107,11 +107,10 @@ impl<'map> CatchStars<'map> {
/// Suitable to plot the difficulty of a map over time.
#[inline]
pub fn strains(self) -> CatchStrains {
let clock_rate = self.clock_rate.unwrap_or_else(|| self.mods.clock_rate());
let (movement, _) = calculate_movement(self);
CatchStrains {
section_len: SECTION_LENGTH * clock_rate,
section_len: SECTION_LENGTH,
movement: movement.strain_peaks,
}
}