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 ced57b7..13a6d43 100644
--- a/events.txt
+++ b/events.txt
@@ -236,7 +236,7 @@ EVENT 20
prompt "Move up to 6 FARC Guerillas into adjacent spaces."
piece_undo_opt 6 is_farc_guerrilla(p)
prompt "Move FARC Guerilla into an adjacent space."
- space_no_undo 1 is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, game.current)
+ space_no_undo 1 is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, FARC)
move
endspace
endpiece
diff --git a/rules.js b/rules.js
index fe56e65..d84f14b 100644
--- a/rules.js
+++ b/rules.js
@@ -8779,7 +8779,7 @@ CODE[20 * 2 + 0] = [
[ vm_prompt, "Move up to 6 FARC Guerillas into adjacent spaces." ],
[ vm_piece, true, 0, 6, (p,s)=>is_farc_guerrilla(p) ],
[ vm_prompt, "Move FARC Guerilla into an adjacent space." ],
- [ vm_space, false, 1, 1, (s)=>is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, game.current) ],
+ [ vm_space, false, 1, 1, (s)=>is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, FARC) ],
[ vm_move ],
[ vm_endspace ],
[ vm_endpiece ],