summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 74757f6..4c044e2 100644
--- a/rules.js
+++ b/rules.js
@@ -5735,9 +5735,13 @@ function can_sabotage_phase_space(s) {
if (!has_sabotage(s)) {
if (is_adjacent_to_city_farc_control(s))
return true
- if (has_capability(S_CAP_7TH_SF))
- return count_guerrillas(s) >= count_cubes(s)
- return count_guerrillas(s) > count_cubes(s)
+ let g = count_guerrillas(s)
+ if (g > 0) {
+ let c = count_cubes(s)
+ if (has_capability(S_CAP_7TH_SF))
+ return g >= c
+ return g > c
+ }
}
return false
}