From 2ec501685f346257051c0f4063f119246c6e02a0 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Thu, 26 Nov 2020 01:26:11 +0100 Subject: Support ex-aequo ranks --- .../kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-ui/src/main/kotlin') diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt index 16c83c78..23fd6d8e 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt @@ -77,7 +77,7 @@ private fun RBuilder.scoreTable(scoreBoard: ScoreBoard, players: List scoreBoard.scores.forEachIndexed { index, score -> val player = players[score.playerIndex] tr { - centeredTd { +"${index + 1}" } + centeredTd { +"${scoreBoard.ranks[index]}" } centeredTd { bpIcon(player.icon?.name ?: "user", size = 25) } styledTd { inlineStyles { -- cgit