summaryrefslogtreecommitdiff
path: root/play.ts
diff options
context:
space:
mode:
Diffstat (limited to 'play.ts')
-rw-r--r--play.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.ts b/play.ts
index b97839b..feb7201 100644
--- a/play.ts
+++ b/play.ts
@@ -368,7 +368,7 @@ function on_update() {
for (let c of view.hand) {
ui.cards[c].classList.remove('selected');
ui.hand.appendChild(ui.cards[c]);
- if (c === view.selected_card) {
+ if (c === view.selected_card || view.final_bid.includes(c)) {
ui.cards[c].classList.add('selected');
}
}