remove async pp calculation & reset to v0.1.1
This commit is contained in:
@@ -136,11 +136,6 @@ impl<'m> ManiaPP<'m> {
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub async fn calculate_async(self) -> PpResult {
|
||||
self.calculate()
|
||||
}
|
||||
|
||||
fn compute_strain(&self, score: f32, stars: f32) -> f32 {
|
||||
let mut strain_value = (5.0 * (stars / 0.2).max(1.0) - 4.0).powf(2.2) / 135.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user