rename speed to clock_rate

This commit is contained in:
MaxOhn
2022-03-20 17:07:42 +01:00
parent 58b2ffba08
commit df9398de95
12 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ impl<'map> CatchGradualDifficultyAttributes<'map> {
Self {
idx: 0,
clock_rate: mods.speed(),
clock_rate: mods.clock_rate(),
hit_objects,
movement,
prev,
+1 -1
View File
@@ -109,7 +109,7 @@ impl<'map> CatchStars<'map> {
/// Suitable to plot the difficulty of a map over time.
#[inline]
pub fn strains(self) -> Strains {
let clock_rate = self.clock_rate.unwrap_or_else(|| self.mods.speed());
let clock_rate = self.clock_rate.unwrap_or_else(|| self.mods.clock_rate());
let (movement, _) = calculate_movement(self);
Strains {