summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index cadb7d7..d54c78a 100644
--- a/rules.js
+++ b/rules.js
@@ -2688,14 +2688,16 @@ function check_control(space_id) {
}
function check_opp_control(space_id) {
- console.log('in check control, space', spaces[space_id].name_unique)
+ if (spaces[space_id].country === 'Romania') {
+ console.log('in check opp control, space', spaces[space_id].name_unique)
+ }
if (game.active === DEM && ((game.comInfl[space_id] - game.demInfl[space_id]) >= spaces[space_id].stability)) {
return true;
} else if (game.active === COM && ((game.demInfl[space_id] - game.comInfl[space_id]) >= spaces[space_id].stability)) {
- console.log('true')
+ //console.log('true')
return true;
} else {
- console.log('false')
+ //console.log('false')
return false;
}
}