fix n_objects for mania
This commit is contained in:
1 parent
909241af44
commit
8f299af49f
1 file changed
+4
-1
@@ -19,7 +19,10 @@ pub fn difficulty(
|
||||
difficulty: &ModeDifficulty,
|
||||
converted: &ManiaBeatmap<'_>,
|
||||
) -> ManiaDifficultyAttributes {
|
||||
let n_objects = converted.map.hit_objects.len() as u32;
|
||||
let n_objects = difficulty
|
||||
.get_passed_objects()
|
||||
.min(converted.map.hit_objects.len()) as u32;
|
||||
|
||||
let values = DifficultyValues::calculate(difficulty, converted);
|
||||
|
||||
let hit_window = converted
|
||||
|
||||
Reference in new issue
Block a user