diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-21 14:54:50 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 1e3995aae8a7a0b613d0813e6d3a940a66c0850d (patch) | |
tree | cc5229636ae227e0a7d57b0467411b80b02a6e65 /rules.js | |
parent | 8359d4bdc8a432e58431d167db65f072737ab1f7 (diff) | |
download | andean-abyss-1e3995aae8a7a0b613d0813e6d3a940a66c0850d.tar.gz |
Fix Assault.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3523,18 +3523,18 @@ function vm_free_assault_cartels() { function can_assault() { if (game.sa && can_air_lift()) { for (let s = first_space; s <= last_space; ++s) - if (has_assault_target(s, FARC) || has_assault_target(s, AUC) || has_assault_target(s, CARTELS)) + if (has_assault_target(s, 0)) return true return true } for (let s = first_space; s <= last_space; ++s) - if (can_assault_in_space(s)) + if (can_assault_in_space(s, 0)) return true return false } function can_assault_in_space(s) { - return can_assault_in_space_faction(s, FARC) || can_assault_in_space_faction(s, AUC) || can_assault_in_space_faction(s, CARTELS) + return can_assault_in_space_faction(s, 0) } function can_assault_in_space_faction(s, target) { |