Skip to content

Commit

Permalink
修复存个人胜率的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Sep 21, 2024
1 parent 81fa6ef commit 686fadb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/Statistics.kt
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ object Statistics {
sb.append(info.blackWinCount).append(',')
sb.append(info.blackGameCount)
listOf(Killer, Stealer, Collector, Mutator, Pioneer, Disturber, Sweeper).forEach {
sb.append(',').append(info.blacksWinCount[it])
sb.append(',').append(info.blacksGameCount[it])
sb.append(',').append(info.blacksWinCount[it] ?: 0)
sb.append(',').append(info.blacksGameCount[it] ?: 0)
}
sb.append('\n')
}
Expand Down

0 comments on commit 686fadb

Please sign in to comment.