summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-04-02 17:25:00 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commit41df62d795a5cb1ba91f74686729b6be1c8048e5 (patch)
tree6e75f6919d2f26d2a61f6db72a6bff7d84ab5540
parente56350909b0831d606f5f6de54088f943fda6c70 (diff)
downloadwilderness-war-41df62d795a5cb1ba91f74686729b6be1c8048e5.tar.gz
Allow activating a force with no units for normal movement.
TODO: Confirmation?
-rw-r--r--rules.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index b10868b..26dd1e0 100644
--- a/rules.js
+++ b/rules.js
@@ -2532,13 +2532,9 @@ states.designate_force = {
switch (game.force.reason) {
case 'campaign_1':
case 'campaign_2':
- // Campaign can activate lone leaders as well as forces.
- gen_action_next();
- break;
case 'move':
- // Must be a force to proceed (leader + at least one unit)
- if (count_units_in_force(commander) > 0)
- gen_action_next();
+ // Campaign and normal activations can activate leaders without forces.
+ gen_action_next();
break;
case 'intercept':
// Must be a force to proceed (leader + at least one unit)