diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-29 18:48:58 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-29 18:48:58 +0100 |
commit | a06a62c75015746c1fd866f927ac78487bce2050 (patch) | |
tree | 694fdffbbc9d97f6fb85c048d8356cf3a9312308 | |
parent | e4506aaf2cb4ecda82d71dfdc7b69f7ea589119f (diff) | |
download | 1989-dawn-of-freedom-a06a62c75015746c1fd866f927ac78487bce2050.tar.gz |
Fix Government Resigns
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 {
|