summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-31 09:33:40 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-02 08:22:05 +0000
commita4e62015e0f0cdd6a8dd39622b4d606c1b9a5446 (patch)
treeb231e497f5a5dece95dcaeec64769c212fcae413 /play.js
parentacbd70b2dda9555217bc31767a507322468e97fe (diff)
download1989-dawn-of-freedom-a4e62015e0f0cdd6a8dd39622b4d606c1b9a5446.tar.gz
Small fixes
Diffstat (limited to 'play.js')
-rw-r--r--play.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/play.js b/play.js
index 5c68d8e..44f7b15 100644
--- a/play.js
+++ b/play.js
@@ -638,12 +638,6 @@ function on_update() {
// UPDATE CARD DISPLAYS
- ui.played_card.replaceChildren()
-
-/* ui.played_power_card.replaceChildren()
- if (view.played_power_card > 0)
- ui.played_power_card.appendChild(ui.power_cards[view.played_power_card])*/
-
ui.samizdat_card.replaceChildren()
if (view.samizdat > 0)
ui.samizdat_card.appendChild(ui.cards[view.samizdat])
@@ -741,6 +735,8 @@ function on_update() {
action_button("done", "Done")
action_button("end_round", "End Round")
action_button("undo", "Undo")
+
+console.log('view.valid_cards', view.valid_cards, 'view.power_hand', view.power_hand)
}
// =========================== LOG FUNCTIONS ==============================================