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-10-31 09:33:40 +0000
commit0c627a1927caa1ce7cf4e3b750c3f5536f4f4359 (patch)
treef63e45511cee1d366a79439e3325f500648f427c /play.js
parent4090f2cebe2bae78979260bb8aa7f5ee7e9a4b72 (diff)
download1989-dawn-of-freedom-0c627a1927caa1ce7cf4e3b750c3f5536f4f4359.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 10eeb96..fd2852c 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 ==============================================