From 0c2aa11ccd4bd180b6705b113ee5e236cdeee9d9 Mon Sep 17 00:00:00 2001 From: Badewanne3 <41148446+MaxOhn@users.noreply.github.com> Date: Sun, 5 May 2024 20:57:12 +0200 Subject: [PATCH] fix PerformanceAttributes.pp_accuracy field name (#7) --- src/attributes/performance.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/attributes/performance.rs b/src/attributes/performance.rs index 9c98399..fb16aa4 100644 --- a/src/attributes/performance.rs +++ b/src/attributes/performance.rs @@ -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?, } @@ -40,7 +40,7 @@ impl From 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), @@ -63,7 +63,7 @@ impl From 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()