renamed fruits to catch

This commit is contained in:
MaxOhn
2022-03-20 17:05:37 +01:00
parent 71eac0ffa3
commit 58b2ffba08
18 changed files with 186 additions and 201 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ async fn async_main() {
let mut evaluators = [
Evaluator::new("osu"),
Evaluator::new("taiko"),
Evaluator::new("fruits"),
Evaluator::new("catch"),
Evaluator::new("mania"),
];
@@ -115,7 +115,7 @@ impl Evaluator {
self.pp.push(difference(data.performance.pp, attrs.pp()));
match attrs {
PerformanceAttributes::Fruits(_) => {}
PerformanceAttributes::Catch(_) => {}
PerformanceAttributes::Mania(attrs) => {
if let Some(acc) = data.performance.acc {
let values = self.accuracy.get_or_insert_with(Vec::new);