summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-22 15:50:37 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-22 15:50:37 +0000
commit76ff5f0210b09b56e4754c608b0749c416b38204 (patch)
tree7c49f35f9e47a99e5d6592e5d2c7c72950ecc1fc
parent11f2a1d73c2ca7d59ea12415e89ea6454cb4fb57 (diff)
download1989-dawn-of-freedom-76ff5f0210b09b56e4754c608b0749c416b38204.tar.gz
Add tied game if both players have held scoring cards
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index c688246..2bdbd6c 100644
--- a/rules.js
+++ b/rules.js
@@ -1584,7 +1584,7 @@ states.end_turn_4_5_4 = {
if (dem_has_scoring_card && com_has_scoring_card) {
log('Both players have held scoring cards')
- game.state = 'game_end_tie'
+ goto_game_over('', `The game is tied due to held scoring cards!`)
}
else if (dem_has_scoring_card) {
log('Democrat player has a held scoring card')