fix ar<8 bonus on relax speed pp not being applied

This commit is contained in:
James Wilson
2024-11-02 14:22:22 +00:00
parent ca7e57d10f
commit 2da698faf9
-2
View File
@@ -415,7 +415,6 @@ impl<'m> OsuPP<'m> {
} }
// AR bonus // AR bonus
if attributes.ar > 10.33 {
let mut ar_factor = if attributes.ar > 10.33 { let mut ar_factor = if attributes.ar > 10.33 {
0.3 * (attributes.ar - 10.33) 0.3 * (attributes.ar - 10.33)
} else { } else {
@@ -427,7 +426,6 @@ impl<'m> OsuPP<'m> {
} }
speed_value *= 1.0 + ar_factor as f32 * len_bonus; speed_value *= 1.0 + ar_factor as f32 * len_bonus;
}
// HD bonus // HD bonus
if self.mods.hd() { if self.mods.hd() {