summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-10 14:19:44 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-10 14:19:44 +0200
commit5c5dc6458d6e736c233af88628d06f60350bfbd0 (patch)
tree2a44ace1d5ebbffea85ec7a97a2fc97fd0ed4770 /rules.js
parent947060dc0e861fc0f74d55c0268b97d954c1a58e (diff)
downloadwilderness-war-5c5dc6458d6e736c233af88628d06f60350bfbd0.tar.gz
Don't allow dropping off units while infiltrating!
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 c997a35..48e113a 100644
--- a/rules.js
+++ b/rules.js
@@ -3378,7 +3378,7 @@ states.move = {
gen_regular_move()
}
- if (game.move.used < 9) {
+ if (game.move.used < 9 && !game.move.infiltrated) {
if (is_leader(who) && count_pieces_in_force(who) > 1)
gen_action('drop_off')
}