Updated build battle with new titles
This commit is contained in:
@@ -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"]) {
|
||||
|
||||
Reference in New Issue
Block a user