diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-17 09:49:56 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-17 09:49:56 +0100 |
commit | 699ea2411ccdc70c4f6023f7efd09f2f03d5b80f (patch) | |
tree | 468107769c65539527471813d6b2309e17836f71 /rules.js | |
parent | 4fafa995e4f76e7fe50e4218b9d97cadcd72bbb0 (diff) | |
download | 1989-dawn-of-freedom-699ea2411ccdc70c4f6023f7efd09f2f03d5b80f.tar.gz |
Update to allow General Strike to continue between turns
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -825,7 +825,11 @@ states.tst_goddess = { } else {
log_side()
}
- game.state = 'choose_card'
+ if (game.persistent_events['general_strike']) {
+ game.state = 'general_strike'
+ } else {
+ game.state = 'choose_card'
+ }
},
done() {
@@ -3032,7 +3036,12 @@ function new_turn() { log_h2("Action Round " + game.round)
log_side()
//console.log('in start new AR call, game.active', game.active)
- game.state = 'choose_card'
+ if (game.persistent_events['general_strike']) {
+ game.state = 'general_strike'
+ }
+ else {
+ game.state = 'choose_card'
+ }
}
}
|