index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-31 17:42:45 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-31 17:42:45 -0700 |
commit | 28e0188ecdc5c2dcfb37469ea089717868650e6a (patch) | |
tree | 5f8f7d19b9cad9d068be1a89f275837ea744c3bd /src/index.js | |
parent | d270cd8174bafcf27fe99833165521d13e228d6f (diff) |
Use pointerovers for setup/teardown; don't rely on pointerouts
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 10 |
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() { |