From 21fb502888aa00e5e4536312177e946afb821804 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 4 Oct 2024 14:04:46 +0100 Subject: Changes to reduce game object --- play.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 2b8741c..55efbb4 100644 --- a/play.js +++ b/play.js @@ -413,6 +413,7 @@ for (let c of view.strategy_discard) { } // DISCARD FOR EVENTS +console.log('view.discard',view.discard) if(view.discard) { //document.getElementById("discard").replaceChildren() document.getElementById("discard_panel").classList.remove("hide") @@ -535,7 +536,7 @@ if (view.ceausescu_cards.length > 0 && view.is_pwr_struggle === true) { for (let id of board_events) { let marker = document.getElementById(`event_${id}`) - console.log('event', id, marker) + //console.log('event', id, marker) if (view.persistent_events.includes(id)) { marker.style.display = 'block' } else { @@ -548,7 +549,7 @@ for (let id of board_events) { for (let id of box_events) { let marker = document.getElementById(`event_${id}`) - console.log('event', id, marker) + //console.log('event', id, marker) if (view.persistent_events.includes(id)) { marker.style.display = 'block' } else { -- cgit v1.2.3