Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/game/firing_arc.js')
-rw-r--r--src/modules/game/firing_arc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/game/firing_arc.js b/src/modules/game/firing_arc.js
index cea8bd0..7a82c43 100644
--- a/src/modules/game/firing_arc.js
+++ b/src/modules/game/firing_arc.js
@@ -294,7 +294,7 @@ function set(svg, size, counter, { x, y }) {
function cancelPlacementListener(e) {
e.preventDefault();
- get(counter).forEach(el => el.remove());
+ get(svg, counter).forEach(el => el.remove());
grid.removeAttribute('style');
svg.removeEventListener('mousemove', positionListener);
}