Skip to content

Commit

Permalink
Exclude DNFs from game ranks
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer committed Jul 7, 2024
1 parent 0161114 commit 3885484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/wotw/server/database/model/LeagueGame.kt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class LeagueGame(id: EntityID<Long>) : LongEntity(id) {
}

val submissionsGroupedByTime = cachedSubmissions
.filter { it.time != null }
.groupBy { it.time ?: 0f }
.toSortedMap()
.values
Expand Down

0 comments on commit 3885484

Please sign in to comment.