fix PerformanceAttributes.pp_accuracy field name (#7)
This commit is contained in:
@@ -19,7 +19,7 @@ define_class! {
|
|||||||
pub pp_aim: f64?,
|
pub pp_aim: f64?,
|
||||||
pub pp_flashlight: f64?,
|
pub pp_flashlight: f64?,
|
||||||
pub pp_speed: f64?,
|
pub pp_speed: f64?,
|
||||||
pub pp_acc: f64?,
|
pub pp_accuracy: f64?,
|
||||||
pub effective_miss_count: f64?,
|
pub effective_miss_count: f64?,
|
||||||
pub pp_difficulty: f64?,
|
pub pp_difficulty: f64?,
|
||||||
}
|
}
|
||||||
@@ -40,7 +40,7 @@ impl From<OsuPerformanceAttributes> for PyPerformanceAttributes {
|
|||||||
Self {
|
Self {
|
||||||
difficulty: difficulty.into(),
|
difficulty: difficulty.into(),
|
||||||
pp,
|
pp,
|
||||||
pp_acc: Some(pp_acc),
|
pp_accuracy: Some(pp_acc),
|
||||||
pp_aim: Some(pp_aim),
|
pp_aim: Some(pp_aim),
|
||||||
pp_flashlight: Some(pp_flashlight),
|
pp_flashlight: Some(pp_flashlight),
|
||||||
pp_speed: Some(pp_speed),
|
pp_speed: Some(pp_speed),
|
||||||
@@ -63,7 +63,7 @@ impl From<TaikoPerformanceAttributes> for PyPerformanceAttributes {
|
|||||||
Self {
|
Self {
|
||||||
difficulty: difficulty.into(),
|
difficulty: difficulty.into(),
|
||||||
pp,
|
pp,
|
||||||
pp_acc: Some(pp_acc),
|
pp_accuracy: Some(pp_acc),
|
||||||
pp_difficulty: Some(pp_difficulty),
|
pp_difficulty: Some(pp_difficulty),
|
||||||
effective_miss_count: Some(effective_miss_count),
|
effective_miss_count: Some(effective_miss_count),
|
||||||
..Self::default()
|
..Self::default()
|
||||||
|
|||||||
Reference in New Issue
Block a user