From 46d17c1ae7300073a022a06dde20ff58659797c5 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 28 Sep 2024 12:09:59 +0100 Subject: Debugging Kremlin Coup --- play.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/play.js b/play.js index a9d21ae..9bc0e94 100644 --- a/play.js +++ b/play.js @@ -284,7 +284,7 @@ let ui = { function on_update() { //console.log('on_update called') //console.log('view.valid_spaces: ', view.valid_spaces) -// console.log('view.actions: ', view.actions) + console.log('view.actions: ', view.actions) //console.log('view.power_cards:', view.power_cards) document.querySelectorAll('[id^="space_"].selected').forEach(spaceElement => {spaceElement.classList.remove('selected');}); document.getElementById("power_hand")?.querySelectorAll('.selected').forEach(cardElement => {cardElement.classList.remove('selected');}); @@ -617,7 +617,7 @@ if (view.persistent_events['the_tyrant_is_gone'] > 0) { action_button("done", "Done") action_button("undo", "Undo") - console.log('view.action', view.action) + //console.log('view.action', view.action) } // =========================== LOG FUNCTIONS ============================================== -- cgit v1.2.3