diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-04 21:51:21 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-04 21:51:21 +0000 |
commit | f95ab2987fc3d04670e92595c94be867e904332a (patch) | |
tree | ccf0e0eeaf2fed477e591b33007c143d48d268f7 | |
parent | 70b0126d702dcb88eecbd56384e1cc26b7358326 (diff) | |
download | 1989-dawn-of-freedom-f95ab2987fc3d04670e92595c94be867e904332a.tar.gz |
Fix valid spaces where already present
-rw-r--r-- | rules.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2651,7 +2651,12 @@ function valid_spaces_infl() { // If the piece has the player's influence, add it and its adjacent spaces to the set if (player_influence > 0) { - valid_spaces_set.add(space.space_id) + if ( + ops > 1 || + !check_opp_control(space.space_id) || + (game.active === DEM && space.country === 'East_Germany' && game.persistent_events.includes(C_GENSCHER)) + ) + valid_spaces_set.add(space.space_id) let adjacent_spaces = get_adjusted_adjacency(space.space_id) for (let adj_space_id of adjacent_spaces) { |