From 66887e37103591586c2b002594f2f79602e71d25 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Sun, 19 May 2024 12:10:00 -0700
Subject: Change attacker color from green to blue; change trace color
---
src/modules/game/soldier.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src')
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);
--
cgit v1.2.3