summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-07 18:13:57 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-07 18:13:57 +0100
commit1723023768ca11179bd4d0235ab0a4b01d12d5f9 (patch)
tree84c29243729ffde5d6fde5ee3ab6a26e011e577f /play.js
parentd6d29d621fbb4dc78e38fdb2f31f9b914997acb5 (diff)
download1989-dawn-of-freedom-1723023768ca11179bd4d0235ab0a4b01d12d5f9.tar.gz
Fix for Samizdat set aside
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 2 insertions, 1 deletions
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")
}