Web Dev Solutions

Catalin Mititiuc

From f503f974f37f1a1916189a033a1708689d512d35 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 25 Jul 2024 12:42:10 -0700 Subject: Clean up some counters code --- src/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index df48274..a951084 100644 --- a/src/index.js +++ b/src/index.js @@ -85,10 +85,10 @@ async function buildScenario(req) { // recordSheet.start(svg.querySelector('.start-locations'), gameboard.getUnits()); recordSheet.start(null, scenarioUnits); - const [trooper] = gameboard.getUnits(); - Observable.notify('select', trooper); - gameboard.setCounter('prone'); - gameboard.setCounter('1st-floor'); + //const [trooper] = gameboard.getUnits(); + //Observable.notify('select', trooper); + //gameboard.setCounter('prone'); + //gameboard.setCounter('1st-floor'); } function updateTurnCounter() { -- cgit v1.2.3