diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-11 16:03:22 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-11 16:03:22 +0100 |
commit | c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3 (patch) | |
tree | e75addcd08c24995dbe4c6d6ad92aec67398ba06 /sw-ui/src/main | |
parent | Fix board summaries (again!) (diff) | |
download | seven-wonders-c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3.tar.gz seven-wonders-c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3.tar.bz2 seven-wonders-c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3.zip |
Fix pulsing red (remove incorrect preparedMove field)
Diffstat (limited to 'sw-ui/src/main')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/GameScene.kt | 2 |
1 files changed, 1 insertions, 1 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 9c1c852a..001c862d 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 @@ -95,7 +95,7 @@ private class GameScene(props: GameSceneProps) : RComponent<GameSceneProps, RSta private fun PlayerTurnInfo.everyoneIsWaitingForMe(): Boolean { val onlyMeInTheGame = props.players.count { it.isHuman } == 1 - if (onlyMeInTheGame || preparedMove != null) { + if (onlyMeInTheGame || props.preparedMove != null) { return false } val gameState = props.gameState ?: return false |