summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-04 01:00:33 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-04 01:00:33 +0100
commit3536f2b1653c326fdbede9800bdf8478d4dddbca (patch)
treeb56699594ea6d0522c3cf85d11dd6fa793a71116
parentb2e58a2fb36751a64fb29bf7a22854ea9d75482a (diff)
downloadvotes-for-women-3536f2b1653c326fdbede9800bdf8478d4dddbca.tar.gz
allow campaigners not to move during free travels
-rw-r--r--rules.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 96d7ded..1384f7c 100644
--- a/rules.js
+++ b/rules.js
@@ -2889,6 +2889,11 @@ states.move_each_player_campaigner_free = {
gen_action_region(r)
}
}
+ gen_action("next")
+ },
+ next() {
+ delete game.selected_campaigner
+ vm_next()
},
campaigner(c) {
push_undo()
@@ -2901,7 +2906,6 @@ states.move_each_player_campaigner_free = {
delete game.selected_campaigner
if (game.vm.moved.length === count_player_active_campaigners()) {
- delete game.selected_campaigner
vm_next()
}
}