summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 1d776a0..0bfc416 100644
--- a/rules.js
+++ b/rules.js
@@ -6189,11 +6189,13 @@ CODE[8 * 2 + 1] = [
[ vm_current, DS ],
[ vm_prompt, ()=>`In each Province adjacent to Devagiri and/or Gulbarga, Govern for free ignoring location requirements and place a Troop.` ],
[ vm_asm, ()=>game.vm.ignore_loc_req = true ],
- [ vm_space, true, 0, 999, (s)=>(is_adjacent_to_city(C_DEVAGIRI, s) || is_adjacent_to_city(C_GULBARGA, s)) && (can_govern_in_space(s) || can_place_piece(s, game.current, TROOPS)) ],
+ [ vm_space, true, 0, 999, (s)=>(is_adjacent_to_city(C_DEVAGIRI, s) || is_adjacent_to_city(C_GULBARGA, s)) && (can_govern_in_space(s) || can_place_piece(s, DS, TROOPS)) ],
[ vm_if, ()=>(can_govern_in_space(game.vm.s)) ],
[ vm_free_govern_in_space_skip ],
[ vm_endif ],
+ [ vm_if, ()=>(can_place_piece(game.vm.s, DS, TROOPS)) ],
[ vm_place, false, 1, 1, DS, TROOPS ],
+ [ vm_endif ],
[ vm_endspace ],
[ vm_return ],
]