index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/modules/gameboard.js')
-rw-r--r-- | src/modules/gameboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js index 7623a31..9d054d0 100644 --- a/src/modules/gameboard.js +++ b/src/modules/gameboard.js @@ -105,7 +105,7 @@ function drawSightLine(sourceCell, targetCell) { const hexes = svg.querySelectorAll(selector); sightLine.setHexes(hexes); const line = sightLine.create(getCellPosition(sourceCell), getCellPosition(targetCell)); - svg.querySelector('.board').appendChild(line); + svg.querySelector('.gameboard').appendChild(line); distanceCallback && distanceCallback(hexes.length - 1); } |