From 1723023768ca11179bd4d0235ab0a4b01d12d5f9 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 7 Oct 2024 18:13:57 +0100 Subject: Fix for Samizdat set aside --- play.html | 2 +- play.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/play.html b/play.html index 742ccc5..0046587 100644 --- a/play.html +++ b/play.html @@ -176,7 +176,7 @@
Set aside card
-
+
diff --git a/play.js b/play.js index 8f3b780..a82a8b0 100644 --- a/play.js +++ b/play.js @@ -525,8 +525,9 @@ if (view.ceausescu_cards && view.ceausescu_cards.length > 0 && view.is_pwr_strug // SAMIZDAT CARD if (view.samizdat > 0 ) { + let samizdat_card = ui.cards[view.samizdat] document.getElementById("samizdat_panel").classList.remove("hide") - document.getElementById("samizdat_hand").appendChild(view.samizdat) + document.getElementById("samizdat_card").appendChild(samizdat_card) } else { document.getElementById("samizdat_panel").classList.add("hide") } -- cgit v1.2.3