diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-31 09:33:40 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-02 08:22:05 +0000 |
commit | a4e62015e0f0cdd6a8dd39622b4d606c1b9a5446 (patch) | |
tree | b231e497f5a5dece95dcaeec64769c212fcae413 /play.js | |
parent | acbd70b2dda9555217bc31767a507322468e97fe (diff) | |
download | 1989-dawn-of-freedom-a4e62015e0f0cdd6a8dd39622b4d606c1b9a5446.tar.gz |
Small fixes
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 ============================================== |