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')
-rw-r--r-- | src/modules/game/soldier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/game/soldier.js b/src/modules/game/soldier.js index ffb902b..fb0a559 100644 --- a/src/modules/game/soldier.js +++ b/src/modules/game/soldier.js @@ -80,7 +80,7 @@ export function handleTrace(svg, selected, clone, current) { if (!trace) { trace = createTrace(getCellPosition(clone.parentElement), current, selected); - svg.querySelector('.gameboard').prepend(trace); + svg.querySelector('.grid').before(trace); } else { const points = `${trace.getAttribute('points')} ${current.x},${current.y}`; trace.setAttributeNS(null, 'points', points); |