rename speed to clock_rate
This commit is contained in:
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user