summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-18 13:11:19 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-18 13:11:19 -0400
commit89231ed0521637619335925b02cc8726388e1fd9 (patch)
tree5a3012bcd5c403daacb96b3caf5de9501f89e858 /rules.js
parent33c8519ee2236a03406c316bf7cf8fc17a49c860 (diff)
downloadvijayanagara-89231ed0521637619335925b02cc8726388e1fd9.tar.gz
Fix Shaded 1 Andhra
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 8261cc9..0d7993c 100644
--- a/rules.js
+++ b/rules.js
@@ -6002,7 +6002,7 @@ CODE[1 * 2 + 1] = [
[ vm_stay_eligible ],
[ vm_current, DS ],
[ vm_prompt, "Select a space to move Units into and Attack for free." ],
- [ vm_space, true, 1, 1, (s)=>s ],
+ [ vm_space, true, 1, 1, (s)=>s>=0 ],
[ vm_prompt, ()=>`Move up to ${8-game.vm.pl.length} units into the selected space.` ],
[ vm_mark_space ],
[ vm_move_to, ()=>(game.vm.s), (p,s)=>(is_ds_unit(p) && is_piece_on_map(p) && !is_piece_in_event_space(p) && game.vm.pl.length < 8) ],