diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-26 02:10:43 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | 825a9baf74d2c872703dbcc11f7d798545d0f6fd (patch) | |
tree | d5313647ad7f05d9ce16891bd635d48b670f9811 | |
parent | 816b0f22d45894544e6d9d4d2252c7854cabd88e (diff) | |
download | friedrich-825a9baf74d2c872703dbcc11f7d798545d0f6fd.tar.gz |
allow removing eliminated generals when powers quit.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |