forked from Cookies_Github_mirror/AquaDX
[F] fix shown ranks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user