Use pointerovers for setup/teardown; don't rely on pointerouts
This commit is contained in:
10
src/index.js
10
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() {
|
||||
|
||||
Reference in New Issue
Block a user