diff options
Diffstat (limited to 'sw-engine/src')
-rw-r--r-- | sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt index 77b67f9d..6c44c7b3 100644 --- a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt +++ b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt @@ -95,7 +95,7 @@ class Game internal constructor( private fun computeEndGameAction(player: Player): TurnAction { val guilds = table.getNeighbourGuildCards(player.index).toHandCards(player, true) return when { - player.canCopyGuild() && guilds.isEmpty() -> TurnAction.PickNeighbourGuild(guilds) + player.canCopyGuild() && guilds.isNotEmpty() -> TurnAction.PickNeighbourGuild(guilds) else -> TurnAction.Wait(ActionMessages.WAIT_OTHER_PICK_GUILD) } } |