diff options
Diffstat (limited to 'sw-ui')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt index 001c862d..79e003cf 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt @@ -57,7 +57,7 @@ private class GameScene(props: GameSceneProps) : RComponent<GameSceneProps, RSta styledDiv { css { height = 100.pct - if (turnInfo.everyoneIsWaitingForMe()) { + if (everyoneIsWaitingForMe()) { +GameStyles.pulsatingRed } } @@ -93,7 +93,7 @@ private class GameScene(props: GameSceneProps) : RComponent<GameSceneProps, RSta } } - private fun PlayerTurnInfo.everyoneIsWaitingForMe(): Boolean { + private fun everyoneIsWaitingForMe(): Boolean { val onlyMeInTheGame = props.players.count { it.isHuman } == 1 if (onlyMeInTheGame || props.preparedMove != null) { return false |