From 102d457b47c56aaaf1a81e3390db6c602b8b7609 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 1 Nov 2024 14:17:34 +0000 Subject: Fix new remove influence state --- rules.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 25a2f4b..a7a462c 100644 --- a/rules.js +++ b/rules.js @@ -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 ], -- cgit v1.2.3