summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
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 ==============================================