summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 0f645bd..417951c 100644
--- a/rules.js
+++ b/rules.js
@@ -4053,11 +4053,12 @@ states.prussia_may_move_hildburghausen_2_cities_westwards = {
view.actions.pass = 1
let here = game.pos[GEN_HILDBURGHAUSEN]
- for (let a of data.cities.adjacent[here])
- if (!has_any_piece(a))
- for (let b of data.cities.adjacent[a])
- if (is_west_of(here, b) && !has_any_piece(b))
- gen_action_space(b)
+ if (here < ELIMINATED)
+ for (let a of data.cities.adjacent[here])
+ if (!has_any_piece(a))
+ for (let b of data.cities.adjacent[a])
+ if (is_west_of(here, b) && !has_any_piece(b))
+ gen_action_space(b)
},
space(s) {
log("P" + GEN_HILDBURGHAUSEN)