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-01 14:17:34 +0000 |
commit | 102d457b47c56aaaf1a81e3390db6c602b8b7609 (patch) | |
tree | 4e5bd96b778080f925bed750b626ac3accd581cf /rules.js | |
parent | 5c373ae78fd9f0f0948412f153ab3a09ee5b8d49 (diff) | |
download | 1989-dawn-of-freedom-102d457b47c56aaaf1a81e3390db6c602b8b7609.tar.gz |
Fix new remove influence state
Diffstat (limited to 'rules.js')
-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 ], |