add bombs to miss count
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 41s
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m30s

This commit is contained in:
Lee
2024-10-22 17:35:14 +01:00
parent 36ab7eb4cf
commit 9c20aff89d
2 changed files with 3 additions and 3 deletions

View File

@ -191,7 +191,7 @@ export class ScoreService {
songDifficulty: difficultyKey,
songScore: score.baseScore,
misses: {
misses: score.missedNotes + score.badCuts,
misses: score.missedNotes + score.badCuts + score.bombCuts,
missedNotes: score.missedNotes,
bombCuts: score.bombCuts,
badCuts: score.badCuts,
@ -209,7 +209,7 @@ export class ScoreService {
data.scoreImprovement = {
score: rawScoreImprovement.score,
misses: {
misses: rawScoreImprovement.missedNotes + rawScoreImprovement.badCuts,
misses: rawScoreImprovement.missedNotes + rawScoreImprovement.badCuts + rawScoreImprovement.bombCuts,
missedNotes: rawScoreImprovement.missedNotes,
bombCuts: rawScoreImprovement.bombCuts,
badCuts: rawScoreImprovement.badCuts,