summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-03 14:13:52 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-03 14:13:52 +0000
commita0c219d8fd1e911d607de236c4c1e1634aef3d69 (patch)
tree1e0a89c695712bef914214df75fcaf9744012088
parent7b97d2c42bcb5b1be04b35400a10aeffb0023d4e (diff)
download1989-dawn-of-freedom-a0c219d8fd1e911d607de236c4c1e1634aef3d69.tar.gz
Fix Tank Man/Tank Column
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index efb2771..72c9689 100644
--- a/rules.js
+++ b/rules.js
@@ -3225,7 +3225,7 @@ function end_round() {
} else {
card_check = [...game.strategy_deck, ...game.strategy_discard, ...game.strategy_removed, ...game.persistent_events, ...game.communist_hand, ... game.democrat_hand];
}
-
+ card_check = card_check.filter(card => card <= last_strategy_card)
function check_duplicates(array) {
return new Set(array).size !== array.length;
}
@@ -5138,9 +5138,10 @@ function vm_tank_column() {
return
}
else if (game.com_tst_position === 4 && game.dem_tst_position < 4) {
- game.vm_event = 204}
+ game.vm_event = 204
goto_vm(game.vm_event)
return
+ }
}
vm_next()
}