Clear placing stack on unselect
This commit is contained in:
parent
a3bf726e40
commit
b008407808
@ -289,9 +289,9 @@ export function select(selected) {
|
|||||||
|
|
||||||
export function unSelect() {
|
export function unSelect() {
|
||||||
const selected = getSelected();
|
const selected = getSelected();
|
||||||
|
placing = [];
|
||||||
|
|
||||||
if (selected) {
|
if (selected) {
|
||||||
placing = [];
|
|
||||||
getSelected().classList.remove(soldier.getSelectedClass());
|
getSelected().classList.remove(soldier.getSelectedClass());
|
||||||
clearSightLine();
|
clearSightLine();
|
||||||
firingArc.clipAll(svg);
|
firingArc.clipAll(svg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user