diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-20 10:49:57 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-20 10:49:57 +0100 |
commit | eb29b09b011e707d8eaa17dea476a0852e3fdecc (patch) | |
tree | 2cdf3d53b05939e0c33f231690d9f62c3d6b49e2 /rules.js | |
parent | 4a2415e6f360fcb832dc10348e5ad84c70d88103 (diff) | |
download | 1989-dawn-of-freedom-eb29b09b011e707d8eaa17dea476a0852e3fdecc.tar.gz |
Fix typo in Austria Hungary Border Reopened
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = []
}
}
|