Updated build battle with new titles

This commit is contained in:
2025-09-06 10:25:34 +02:00
parent 29d13baf5c
commit 00fe2b62e3
6 changed files with 29 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ export function getNextBuildBattleRank(score: number) {
const next = STARS.indexOf(current) + 1
return next > STARS.length - 1 ? null : STARS[next]
return next > STARS.length - 1 ? STARS.at(-1)! : STARS[next]
}
export function getBuildBattleModeName(id: typeof MODES[number]["id"]) {