summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-26 02:10:43 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commit825a9baf74d2c872703dbcc11f7d798545d0f6fd (patch)
treed5313647ad7f05d9ce16891bd635d48b670f9811
parent816b0f22d45894544e6d9d4d2252c7854cabd88e (diff)
downloadfriedrich-825a9baf74d2c872703dbcc11f7d798545d0f6fd.tar.gz
allow removing eliminated generals when powers quit.
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 5fa3621..a82e850 100644
--- a/rules.js
+++ b/rules.js
@@ -3185,7 +3185,7 @@ states.russia_quits_the_game_2 = {
prompt() {
prompt("Russia quits the game. Retire one Prussian general.")
for (let p of all_power_generals[game.power])
- if (p !== GEN_FRIEDRICH && game.pos[p] < ELIMINATED)
+ if (p !== GEN_FRIEDRICH && game.pos[p] < REMOVED)
gen_action_piece(p)
},
piece(p) {
@@ -3227,7 +3227,7 @@ states.sweden_quits_the_game_2 = {
prompt() {
prompt("Sweden quits the game. Retire one Prussian general.")
for (let p of all_power_generals[game.power])
- if (p !== GEN_FRIEDRICH && game.pos[p] < ELIMINATED)
+ if (p !== GEN_FRIEDRICH && game.pos[p] < REMOVED)
gen_action_piece(p)
},
piece(p) {