summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-23 08:08:45 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-23 08:08:45 +0100
commit4e02396991054acf4473d47ae3ae5a828ffb1cea (patch)
tree8b1387e93b7c608736708b984555f6816320de9c /rules.js
parentbeba1f7cd37947f98c2b479109e88e8d709f9e4e (diff)
download1989-dawn-of-freedom-4e02396991054acf4473d47ae3ae5a828ffb1cea.tar.gz
Small updates
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 9538139..07f8913 100644
--- a/rules.js
+++ b/rules.js
@@ -2638,12 +2638,15 @@ function do_tst_attempt() {
}
}
// Check whether The Reformer is playable:
- if ((game.dem_tst_position > game.com_tst_position)) {
+ if (game.dem_tst_position > game.com_tst_position) {
game.playable_cards[67].playable = DEM
}
- if ((game.dem_tst_position < game.com_tst_position)) {
+ if (game.dem_tst_position < game.com_tst_position) {
game.playable_cards[67].playable = COM
}
+ if (game.dem_tst_position === game.com_tst_position) {
+ game.playable_cards[67].playable = ''
+ }
}
function check_presence(country) {