From 23069d322e91060bb5e5bb6de56fa4876a95e762 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 27 Oct 2024 16:26:19 +0100 Subject: Use correct povel card title in constant! --- rules.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 8406816..34d8364 100644 --- a/rules.js +++ b/rules.js @@ -223,7 +223,7 @@ const numberless_cards = [1, 2, 3, 4, 5, 6, 37, 38, 39, 40, 41, 42, 43, 44, 45, const auto_resolve_events = [5, 8, 9, 13, 17, 25, 26, 30, 35, 50, 53, 54, 58, 59, 62, 63, 65, 70, 72, 74, 86, 99, 102, 108] const switch_events = [6, 20, 71] -const PC_TACTICS_FAILS = 52 +const PC_TACTIC_FAILS = 52 // COUNTRY CONSTANTS @@ -2840,7 +2840,7 @@ function valid_cards(player_hand, presence) { if (game.phase === 0) { for (let c of player_hand) { let card = power_cards[c] - if (c === PC_TACTICS_FAILS) { + if (c === PC_TACTIC_FAILS) { continue } // Never add tactics fails @@ -2864,7 +2864,7 @@ function valid_cards(player_hand, presence) { valid_cards_set.add(c) } else if (leaders.includes(card.socio) && presence[card.socio]) { valid_cards_set.add(c) - } else if (c === PC_TACTICS_FAILS) { + } else if (c === PC_TACTIC_FAILS) { valid_cards_set.add(c) } } -- cgit v1.2.3