summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/org/luxons
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-11-26 01:26:11 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-11-26 02:02:47 +0100
commit2ec501685f346257051c0f4063f119246c6e02a0 (patch)
tree2c309463ae7cb08a25c6de3141326a7909b92b00 /sw-ui/src/main/kotlin/org/luxons
parentDistinguish wonder fully built and card already played (diff)
downloadseven-wonders-2ec501685f346257051c0f4063f119246c6e02a0.tar.gz
seven-wonders-2ec501685f346257051c0f4063f119246c6e02a0.tar.bz2
seven-wonders-2ec501685f346257051c0f4063f119246c6e02a0.zip
Support ex-aequo ranks
Diffstat (limited to 'sw-ui/src/main/kotlin/org/luxons')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/ScoreTable.kt2
1 files changed, 1 insertions, 1 deletions
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<PlayerDTO>
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 {
bgstack15