summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--events.txt4
-rw-r--r--rules.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/events.txt b/events.txt
index bc40dbf..0af6299 100644
--- a/events.txt
+++ b/events.txt
@@ -4,8 +4,8 @@ EVENT 1
stay_eligible
current REBEL_FACTIONS
prompt "Move all Governors to Provinces adjacent to Delhi."
- piece all (is_governor(p) && !set_has(SPACES[S_DELHI].adjacent, piece_space(p)))
- space 1 (set_has(SPACES[S_DELHI].adjacent, s))
+ piece all (is_governor(p))
+ space 1 (set_has(SPACES[S_DELHI].adjacent, s) && s != S_PUNJAB)
move
endspace
endpiece
diff --git a/rules.js b/rules.js
index 51abd46..ac96885 100644
--- a/rules.js
+++ b/rules.js
@@ -5998,8 +5998,8 @@ CODE[1 * 2 + 0] = [
[ vm_stay_eligible ],
[ vm_current, REBEL_FACTIONS ],
[ vm_prompt, "Move all Governors to Provinces adjacent to Delhi." ],
- [ vm_piece, false, 999, 999, (p,s)=>(is_governor(p) && !set_has(SPACES[S_DELHI].adjacent, piece_space(p))) ],
- [ vm_space, true, 1, 1, (s)=>(set_has(SPACES[S_DELHI].adjacent, s)) ],
+ [ vm_piece, false, 999, 999, (p,s)=>(is_governor(p)) ],
+ [ vm_space, true, 1, 1, (s)=>(set_has(SPACES[S_DELHI].adjacent, s) && s != S_PUNJAB) ],
[ vm_move ],
[ vm_endspace ],
[ vm_endpiece ],