diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-28 15:45:45 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 8e8fdfc0af4453a26fa9318035b53b7d64763c6c (patch) | |
tree | 11dc0b48880f95adde098525ec674667a85b9343 /rules.js | |
parent | 54ed5b6dba4a16ebeeb01cea0963f49d2cff6c04 (diff) | |
download | andean-abyss-8e8fdfc0af4453a26fa9318035b53b7d64763c6c.tar.gz |
Fix free Sweep possibility checks.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7824,7 +7824,7 @@ states.vm_free_sweep_assault = { prompt() { event_prompt(`Free Sweep or Assault in ${space_name[game.vm.s]}.`) view.where = game.vm.s - if (has_any_underground_guerrilla(game.vm.s)) + if (can_sweep_activate(game.vm.s)) view.actions.sweep = 1 else view.actions.sweep = 0 @@ -7841,7 +7841,7 @@ states.vm_free_sweep_assault_farc = { prompt() { event_prompt(`Free Sweep or Assault FARC in ${space_name[game.vm.s]}.`) view.where = game.vm.s - if (has_underground_guerrilla(game.vm.s, FARC)) + if (can_sweep_activate(game.vm.s, FARC)) view.actions.sweep = 1 else view.actions.sweep = 0 |