From a06a62c75015746c1fd866f927ac78487bce2050 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sun, 29 Sep 2024 18:48:58 +0100 Subject: Fix Government Resigns --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index fb08071..ed852d7 100644 --- a/rules.js +++ b/rules.js @@ -2671,9 +2671,9 @@ function count_adj(name_unique) { function check_control(space_id) { //console.log('in check control, space', spaces[space_id].name_unique) - if (game.active === COM && ((game.comInfl[space_id] - game.demInfl[space_id]) >= spaces[space_id].stability)) { + if ( (game.comInfl[space_id] - game.demInfl[space_id]) >= spaces[space_id].stability) { return true; - } else if (game.active === DEM && ((game.demInfl[space_id] - game.comInfl[space_id]) >= spaces[space_id].stability)) { + } else if ((game.demInfl[space_id] - game.comInfl[space_id]) >= spaces[space_id].stability) { //console.log('true') return true; } else { -- cgit v1.2.3