index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-19 12:10:00 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-19 12:10:00 -0700 |
commit | 66887e37103591586c2b002594f2f79602e71d25 (patch) | |
tree | 31af125a63a9d66bdb347207d576ee6570149f4c /src | |
parent | 56cb96c0f8142fd6216e6f39d692c19c182125a1 (diff) |
Change attacker color from green to blue; change trace color
Diffstat (limited to 'src')
-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); |