summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index d46a814..ba66355 100644
--- a/rules.js
+++ b/rules.js
@@ -3078,7 +3078,7 @@ function is_auto_resolve(card) {
return true
}
} else if (card === C_DASH_FOR_THE_WEST) {
- if (!game.strategy_discard.includes(dem_asterisks)) {
+ if (!dem_asterisks.some( c => game.strategy_discard.includes(c))) {
if (!game.state.startsWith('vm')) { logi('No Democratic Events with an asterisk in the discard') }
return true
}
@@ -8177,7 +8177,7 @@ CODE[35] = [ // Heal our Bleeding Wounds*
CODE[36] = [ // Dash for the West*
[ vm_permanently_remove ],
[ vm_if, ()=>!is_auto_resolve(C_DASH_FOR_THE_WEST) ],
- [ vm_prompt, 'Dash for the West: select any Democratic event with an asterix(*) from the discard pile. Event occurs immediately' ],
+ [ vm_prompt, 'Dash for the West: select any Democratic Event with an asterisk(*) from the discard pile. Event occurs immediately' ],
[ vm_dash_for_the_west ],
[ vm_endif ],
[ vm_return ],