diff options
-rw-r--r-- | rules.js | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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;
}
}
|