From f95ab2987fc3d04670e92595c94be867e904332a Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 4 Jan 2025 21:51:21 +0000 Subject: Fix valid spaces where already present --- rules.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 5d3db6c..0e21360 100644 --- a/rules.js +++ b/rules.js @@ -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) { -- cgit v1.2.3