Skip to content

Commit

Permalink
add missing changes in gradual diff
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunyoku committed May 31, 2024
1 parent cf9820c commit 55cc1f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "akatsuki-pp"
version = "0.9.8"
version = "0.9.9"
authors = ["MaxOhn <[email protected]>", "tsunyoku <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down
4 changes: 3 additions & 1 deletion src/osu/gradual_difficulty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 55cc1f2

Please sign in to comment.