fix ranked scores history
All checks were successful
deploy / deploy (push) Successful in 30s

This commit is contained in:
Lee 2023-10-30 16:32:08 +00:00
parent 28898fdd56
commit 56aea4a613

@ -153,7 +153,7 @@ async function updateAverages() {
rank: 0, rank: 0,
maxCombo: 0, maxCombo: 0,
}; };
const rankedScores = scores.filter((score) => score.rank); const rankedScores = scores.filter((score) => score.pp);
scores.forEach((score) => { scores.forEach((score) => {
if (score.acc) { if (score.acc) {
average.acc += score.acc; average.acc += score.acc;