From 825a9baf74d2c872703dbcc11f7d798545d0f6fd Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 26 May 2024 02:10:43 +0200 Subject: allow removing eliminated generals when powers quit. --- rules.js | 4 ++-- 1 file 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) { -- cgit v1.2.3