Skip to content

Commit

Permalink
赛季最高分排行排除0场玩家
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu authored Sep 30, 2024
1 parent c0484c9 commit eb74fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/Statistics.kt
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ object Statistics {
fun getSeasonRankList(): BufferedImage {
val l1 = playerInfoMap.map { (_, v) ->
v.copy(score = v.maxScore.coerceAtLeast(0))
}.filter { it.score > 0 }.sorted()
}.filter { it.score > 0 && it.gameCount > 0 }.sorted()
return Image.genRankListImage(l1.take(50))
}

Expand Down

0 comments on commit eb74fd7

Please sign in to comment.