add bombs to miss count
This commit is contained in:
parent
36ab7eb4cf
commit
9c20aff89d
@ -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,
|
||||
|
@ -51,7 +51,7 @@ export default function ScoreMissesBadge({ score, hideXMark }: ScoreMissesBadgeP
|
||||
fullCombo={scoreImprovement.fullCombo}
|
||||
>
|
||||
<div className="flex gap-1 items-center">
|
||||
{previousScoreMisses.missedNotes == 0 ? (
|
||||
{scoreImprovement.fullCombo ? (
|
||||
<p className="text-green-400">FC</p>
|
||||
) : (
|
||||
formatNumberWithCommas(previousScoreMisses.misses)
|
||||
|
Reference in New Issue
Block a user