From 45e37f44bb23472467698514d8dacd6ed2be5caf Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 16 Jun 2021 22:16:52 +0000 Subject: tripoli: Remove cards played from the discard with Bainbridge. --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index a91bd2d..c8c9c59 100644 --- a/rules.js +++ b/rules.js @@ -399,6 +399,7 @@ function play_card(player, card) { log(game.active + " plays \u{201c}" + CARD_NAMES[card] + "\u{201d}."); remove_from_array(player.core, card); remove_from_array(player.hand, card); + remove_from_array(player.discard, card); if (REMOVE_AFTER_PLAY.includes(card)) game.removed.push(card); else @@ -1233,7 +1234,7 @@ function goto_allocate_tripolitan_hits() { } function format_allocate_hits(n) { - if (n == 0) return "Allocate hits \u2014 none."; + if (n == 0) return "Allocate hits \u2014 done."; if (n == 1) return "Allocate hits \u2014 1 left."; return "Allocate hits \u2014 " + n + " left."; } -- cgit v1.2.3