diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-27 16:26:19 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-27 16:26:59 +0100 |
commit | 23069d322e91060bb5e5bb6de56fa4876a95e762 (patch) | |
tree | 2339924732fc0461e4d54d576bd4c2132c51e481 /rules.js | |
parent | 071612221465ec4bf05cf855043278230636f966 (diff) | |
download | 1989-dawn-of-freedom-23069d322e91060bb5e5bb6de56fa4876a95e762.tar.gz |
Use correct povel card title in constant!
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) } } |