diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-07 11:54:50 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-07 11:54:50 +0000 |
commit | 1fa3808840dba64f5344795d5e8f730cc2ebfeb0 (patch) | |
tree | ddfe42371df029f9806a074a9e13a0744f258d95 /rules.js | |
parent | ef7c22e04584531784b841ab54b63e7e5247ffd4 (diff) | |
download | 1989-dawn-of-freedom-1fa3808840dba64f5344795d5e8f730cc2ebfeb0.tar.gz |
Fix error from game_over change
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5743,6 +5743,7 @@ states.vm_remove_all_infl = { states.vm_support_check_prep = { inactive: 'do support checks.', prompt () { + console.log('in vm_support_check_prep', game.valid_spaces) if (game.valid_spaces.length === 0) { view.prompt = `${clean_name(cards[this_card()].name)}: no valid targets for support check.` gen_action('done') @@ -5876,6 +5877,7 @@ states.vm_1_support_check_prep = { states.vm_do_support_check = { inactive: 'do support checks.', prompt () { + console.log('in vm_do_support_check') view.prompt = `Support check: ${spaces[game.selected_space].name_unique}. Roll a die.` gen_action('roll') }, @@ -5890,7 +5892,7 @@ states.vm_do_support_check = { vm_next() return } else { - game.state = 'support_check_prep' + game.state = 'vm_support_check_prep' return } } |