diff options
-rw-r--r-- | rules.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -470,6 +470,13 @@ function flip_pc(space) { function get_colony_control(c) { let control = 0 + if (c === Canada) { + if (get_space_pc(QUEBEC) === PC_BRITISH && get_space_pc(MONTREAL) === PC_BRITISH) + return PC_BRITISH + if (get_space_pc(QUEBEC) === PC_AMERICAN && get_space_pc(MONTREAL) === PC_AMERICAN) + return PC_AMERICAN + return PC_NONE + } for (let space of COLONIES[c]) { let pc = get_space_pc(space) if (pc === PC_BRITISH) |