diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-01 14:17:34 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-02 08:22:06 +0000 |
commit | fd2926842979dac6e30e7cc8423e24140474db11 (patch) | |
tree | 75a5702898b96b18e5e5af643a808bc2ef0f9a07 | |
parent | 6dddaba63d19d4fde768cdd44ea8de7f720b8491 (diff) | |
download | 1989-dawn-of-freedom-fd2926842979dac6e30e7cc8423e24140474db11.tar.gz |
Fix new remove influence state
-rw-r--r-- | rules.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2126,7 +2126,7 @@ function remove_infl(space, ops) { check_tyrant() } game[ops]-- - if (game.vm_influence_added && game.vm_influence_added[space]) {game.vm_influence_added[space]++} + if (game.vm_influence_added && game.vm_influence_added[space] >= 0) {game.vm_influence_added[space]++} if (game[ops]===0) {game.valid_spaces = []} } @@ -8285,7 +8285,6 @@ CODE[72] = [ // Peasant Parties Revolt ] CODE[73] = [ // Laszlo Tokes* - [ vm_permanently_remove ], [ vm_valid_spaces, 'Timisoara', 'Harghita/Covasna' ], [ vm_prompt, 'in Timisoara and Harghita/Covasna' ], [ vm_add_limited_infl, 2, 1 ], |