[F] fix shown ranks

This commit is contained in:
Azalea
2024-02-26 15:08:22 -05:00
parent 66e65fcd14
commit 1c8860c596
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class Chusan(
}
// Only show > AAA rank
private val shownRanks = chu3Scores.filter { it.first >= 95 }
private val shownRanks = chu3Scores.filter { it.first >= 95 * 10000 }
override fun userSummary(@RP username: Str) = us.byName(username) { u ->
// Summary values: total plays, player rating, server-wide ranking

View File

@@ -28,7 +28,7 @@ class Maimai2(
}
// Only show > S rank
private val shownRanks = mai2Scores.filter { it.first >= 97 }
private val shownRanks = mai2Scores.filter { it.first >= 97 * 10000 }
override fun userSummary(@RP username: Str) = us.byName(username) { u ->
val extra = userGeneralDataRepository.findByUser_Card_ExtId(u.ghostCard.extId)