Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index d2c1b01..df48274 100644
--- a/src/index.js
+++ b/src/index.js
@@ -84,6 +84,11 @@ 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');
}
function updateTurnCounter() {