From eb29b09b011e707d8eaa17dea476a0852e3fdecc Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 20 Sep 2024 10:49:57 +0100 Subject: Fix typo in Austria Hungary Border Reopened --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 7128a3d..11eea14 100644 --- a/rules.js +++ b/rules.js @@ -1991,7 +1991,7 @@ function add_infl(space) { check_control_change(clicked_space) // Check Austria Hungary Border Reopened is true and condition has been met - if (game.available_ops <= 0 && game.active === DEM && game.persistent_events['austria_hungary_border_reopened'] && game.austria_hungary_border_reopened_tracker) { + if (game.available_ops === 0 && game.active === DEM && game.persistent_events['austria_hungary_border_reopened'] && game.austria_hungary_border_reopened_tracker) { game.available_ops ++ log('+1 influence from C58') game.austria_hungary_border_reopened_tracker = false @@ -2015,7 +2015,7 @@ function add_infl(space) { } //Clear valid spaces if no IP remaining. - if (game.available_ops === 0 ) { + if (game.available_ops <= 0 ) { game.valid_spaces = [] } } -- cgit v1.2.3