From c56833461f979ce6992552ec2be60c55b6222255 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 24 May 2024 00:06:52 +0200 Subject: handle degenerate case when running out of cards and TC -1 --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 9a09807..b416f5f 100644 --- a/rules.js +++ b/rules.js @@ -873,9 +873,9 @@ function goto_tactical_cards() { function should_power_discard_tc() { if (game.power === P_FRANCE && !set_has(FC_AMERICA) && !set_has(FC_INDIA)) - return true // game.draw.length === 4 + return game.draw.length === 4 if (game.scenario === 1 && game.power === P_PRUSSIA) - return true // game.draw.length === 2 + return game.draw.length === 2 return false } -- cgit v1.2.3