osu: fixed angle calculation for no_leniency

This commit is contained in:
MaxOhn
2021-02-04 14:00:17 +01:00
parent 6b5dea5c2a
commit 6e0bd2c93b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ pub fn stars(map: &Beatmap, mods: impl Mods, passed_objects: Option<usize>) -> S
let take = passed_objects.unwrap_or_else(|| map.hit_objects.len());
if take < 2 {
return StarResult::Mania(DifficultyAttributes { stars: 0.0 });
return StarResult::Mania(DifficultyAttributes::default());
}
let rounded_cs = map.cs.round();