add missing changes in gradual diff

This commit is contained in:
tsunyoku
2024-05-31 22:40:21 +01:00
parent cf9820ce7f
commit 55cc1f2729
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "akatsuki-pp"
version = "0.9.8"
version = "0.9.9"
authors = ["MaxOhn <ohn.m@hotmail.de>", "tsunyoku <tsunyoku@gmail.com>"]
edition = "2018"
license = "MIT"
+3 -1
View File
@@ -10,7 +10,7 @@ use super::{
old_stacking,
osu_object::{ObjectParameters, OsuObject, OsuObjectKind},
scaling_factor::ScalingFactor,
skills::{Skill, Skills},
skills::{OsuStrainSkill, Skills},
stacking, OsuDifficultyAttributes, DIFFICULTY_MULTIPLIER, FADE_IN_DURATION_MULTIPLIER,
PERFORMANCE_BASE_MULTIPLIER, PREEMPT_MIN,
};
@@ -291,6 +291,8 @@ impl Iterator for OsuGradualDifficultyAttributes {
attrs.slider_factor = slider_factor;
attrs.stars = star_rating;
attrs.speed_note_count = speed_notes;
attrs.aim_difficult_strain_count = aim.count_difficult_strains();
attrs.speed_difficult_strain_count = speed.count_difficult_strains();
Some(attrs)
}