diff --git a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt index f0949d1..516e4a0 100644 --- a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt +++ b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/pairing/HistoryHelper.kt @@ -32,7 +32,7 @@ open class HistoryHelper(protected val history: List>, scoresGetter: }).toSet() } - // Returns the number of games played as white + // Returns the number of games played as white minus the number of games played as black // Only count games without handicap private val colorBalance: Map by lazy { history.flatten().filter { game ->