summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events.txt2
-rw-r--r--rules.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/events.txt b/events.txt
index 0ec50d0..151d4f4 100644
--- a/events.txt
+++ b/events.txt
@@ -744,7 +744,7 @@ EVENT 33
stay_eligible
current (has_majority_goa())
prompt "Remove up to 3 opposing Units adjacent to Goa."
- piece_opt 3 (is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_piece(p))
+ piece_opt 3 (is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_unit(p))
summary_remove
endpiece
pop_summary
diff --git a/rules.js b/rules.js
index 94951da..1d776a0 100644
--- a/rules.js
+++ b/rules.js
@@ -6904,7 +6904,7 @@ CODE[33 * 2 + 0] = [
[ vm_stay_eligible ],
[ vm_current, ()=>(has_majority_goa()) ],
[ vm_prompt, "Remove up to 3 opposing Units adjacent to Goa." ],
- [ vm_piece, false, 0, 3, (p,s)=>(is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_piece(p)) ],
+ [ vm_piece, false, 0, 3, (p,s)=>(is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_unit(p)) ],
[ vm_summary_remove ],
[ vm_endpiece ],
[ vm_pop_summary ],