summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-02-06 09:32:50 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-02-06 09:32:50 +0000
commit6310dbf8ea1d74f919881f2e3a71b25a82a6b086 (patch)
treeb245c10e64c4c17d5e127efbd5da07583e29aa20 /rules.js
parent9356f299817f7a6fa922a0e206fe523df01ad05f (diff)
download1989-dawn-of-freedom-6310dbf8ea1d74f919881f2e3a71b25a82a6b086.tar.gz
Fix result for drawsHEADmaster
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index de49f28..00cbaab 100644
--- a/rules.js
+++ b/rules.js
@@ -1800,7 +1800,7 @@ states.end_turn_4_5_4 = {
}
if (dem_has_scoring_card && com_has_scoring_card) {
log('Both players have held scoring cards')
- goto_game_over('', `The game is tied due to held scoring cards!`)
+ goto_game_over('Draw', `The game is tied due to held scoring cards!`)
} else if (dem_has_scoring_card) {
log('Democrat player has a held scoring card')
goto_game_over(COM, `${COM} won by held scoring card!`)
@@ -1923,7 +1923,7 @@ states.final_scoring = {
} else if (game.vp < 0) {
goto_game_over(COM, `${COM} wins on Victory Point Track!`)
} else if (game.vp === 0) {
- goto_game_over('', `The game is tied!`)
+ goto_game_over('Draw', `The game is tied!`)
}
},
}
@@ -2092,7 +2092,7 @@ states.new_years_eve_party = {
} else if (game.vp < 0) {
goto_game_over(COM, `New Year's Eve Party: ${COM} wins on Victory Point Track!`)
} else if (game.vp === 0) {
- goto_game_over('', `New Year's Eve Party: The game is tied!`)
+ goto_game_over('Draw', `New Year's Eve Party: The game is tied!`)
}
},
end() {
@@ -2101,7 +2101,7 @@ states.new_years_eve_party = {
} else if (game.vp < 0) {
goto_game_over(COM, `New Year's Eve Party: ${COM} wins on Victory Point Track!`)
} else if (game.vp === 0) {
- goto_game_over('', `New Year's Eve Party: The game is tied!`)
+ goto_game_over('Draw', `New Year's Eve Party: The game is tied!`)
}
},
}