Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 2df5b36..e20949a 100644
--- a/src/modules/gameboard.js
+++ b/src/modules/gameboard.js
@@ -289,9 +289,9 @@ export function select(selected) {
export function unSelect() {
const selected = getSelected();
+ placing = [];
if (selected) {
- placing = [];
getSelected().classList.remove(soldier.getSelectedClass());
clearSightLine();
firingArc.clipAll(svg);