From a4e62015e0f0cdd6a8dd39622b4d606c1b9a5446 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Thu, 31 Oct 2024 09:33:40 +0000 Subject: Small fixes --- play.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'play.js') 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 ============================================== -- cgit v1.2.3