Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-07-31 17:42:45 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-07-31 17:42:45 -0700
commit28e0188ecdc5c2dcfb37469ea089717868650e6a (patch)
tree5f8f7d19b9cad9d068be1a89f275837ea744c3bd /src/index.js
parentd270cd8174bafcf27fe99833165521d13e228d6f (diff)
Use pointerovers for setup/teardown; don't rely on pointerouts
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/index.js b/src/index.js
index e2b9fbb..cc4dd6d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -84,12 +84,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');
- Observable.notify('select');
-
- window.gb = gameboard;
+ //const [_, trooper] = gameboard.getUnits();
+ //Observable.notify('select', trooper);
+ //gameboard.setCounter('prone');
+ //Observable.notify('select');
}
function updateTurnCounter() {