Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-07-28 12:05:42 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-07-28 12:05:42 -0700
commitd2e80b341c323d56c6955decc2c4f8ae38228580 (patch)
treebf5319b17dfccaeabd9a982b5310460c5cf13437 /src/modules
parent165ae72ef203e65e8576bb233972d9548ec0e5f8 (diff)
Place trooper counter under other counters
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/gameboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js
index 26e6c44..5851273 100644
--- a/src/modules/gameboard.js
+++ b/src/modules/gameboard.js
@@ -248,7 +248,7 @@ export function start(el) {
} else if (toPlace && !occupant) {
//soldier.place(svg, toPlace, this);
top.collection.set(toPlace, { parent: top.cell });
- top.container.append(toPlace);
+ top.container.prepend(toPlace);
//toPlace.removeEventListener('click', selectOffBoard);
placing.push(toPlace);
//getLockedSightLine(svg) ? updateSightLine(this) : clearSightLine();