Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-11 18:32:13 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-11 18:52:19 -0700
commit333931c82cd3c9aee6d09319a273c9735a0fdca8 (patch)
tree8f2852575598c1fb3cd0aad5831112bc76ba56ab /src/modules/gameboard.js
parentf079181a2c274b243c74e66e5c516b789e39c29e (diff)
Fix load scenario transition fade out
Diffstat (limited to 'src/modules/gameboard.js')
-rw-r--r--src/modules/gameboard.js2
1 files changed, 0 insertions, 2 deletions
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();