Skip to content

Commit

Permalink
fix PerformanceAttributes.pp_accuracy field name (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn authored May 5, 2024
1 parent 4a8b0a9 commit 0c2aa11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/attributes/performance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ define_class! {
pub pp_aim: f64?,
pub pp_flashlight: f64?,
pub pp_speed: f64?,
pub pp_acc: f64?,
pub pp_accuracy: f64?,
pub effective_miss_count: f64?,
pub pp_difficulty: f64?,
}
Expand All @@ -40,7 +40,7 @@ impl From<OsuPerformanceAttributes> for PyPerformanceAttributes {
Self {
difficulty: difficulty.into(),
pp,
pp_acc: Some(pp_acc),
pp_accuracy: Some(pp_acc),
pp_aim: Some(pp_aim),
pp_flashlight: Some(pp_flashlight),
pp_speed: Some(pp_speed),
Expand All @@ -63,7 +63,7 @@ impl From<TaikoPerformanceAttributes> for PyPerformanceAttributes {
Self {
difficulty: difficulty.into(),
pp,
pp_acc: Some(pp_acc),
pp_accuracy: Some(pp_acc),
pp_difficulty: Some(pp_difficulty),
effective_miss_count: Some(effective_miss_count),
..Self::default()
Expand Down

0 comments on commit 0c2aa11

Please sign in to comment.