From 8e8fdfc0af4453a26fa9318035b53b7d64763c6c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 28 Apr 2023 15:45:45 +0200 Subject: Fix free Sweep possibility checks. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index f66c12e..69b39b9 100644 --- a/rules.js +++ b/rules.js @@ -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 -- cgit v1.2.3