From 333931c82cd3c9aee6d09319a273c9735a0fdca8 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Tue, 11 Jun 2024 18:32:13 -0700
Subject: Fix load scenario transition fade out
---
src/modules/gameboard.js | 2 --
1 file changed, 2 deletions(-)
(limited to 'src/modules/gameboard.js')
diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js
index 97538cd..d9919ec 100644
--- a/src/modules/gameboard.js
+++ b/src/modules/gameboard.js
@@ -205,8 +205,6 @@ export function start(el) {
startingLocations && getUnits(startingLocations).forEach(unit => unit.addEventListener('click', selectOffBoard));
getCells(svg).forEach(cell => {
- if (cell.dataset.x === '0' && cell.parentElement.dataset.y === '0') console.log('cell', cell);
-
cell.addEventListener('click', e => {
const occupant = getCellOccupant(cell);
let toPlace = placing.pop();
--
cgit v1.2.3