summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-22 22:02:22 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-22 22:03:02 +0200
commita1ca3a906f87764a3dfa160d7133e1030b40c2d9 (patch)
treee0ead89028fb881bb8bd9db14304af9eb344b333
parentee3491dfa8d5d5f0f92b28ba26f9b36d3573e38f (diff)
downloadwashingtons-war-a1ca3a906f87764a3dfa160d7133e1030b40c2d9.tar.gz
British player should remove CUs for European War.
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 094fc8a..a396a9f 100644
--- a/rules.js
+++ b/rules.js
@@ -4403,9 +4403,10 @@ function end_remove_isolated_british_pc_segment() {
function goto_end_phase() {
if (has_flag(F_FRENCH_ALLIANCE_TRIGGERED) && !has_flag(F_EUROPEAN_WAR)) {
+ log("=b European War")
set_flag(F_EUROPEAN_WAR)
game.count = 2
- game.active = P_AMERICA
+ game.active = P_BRITAIN
game.state = "european_war"
set_flag(F_RESHUFFLE)
return
@@ -4437,6 +4438,7 @@ states.european_war = {
},
space(where) {
push_undo()
+ log("Removed CU from S" + where + ".")
remove_british_cu(where, 1)
if (--game.count === 0)
game.state = "european_war_confirm"