Clear placing stack on unselect
This commit is contained in:
parent
088a37d128
commit
8fb858fc46
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user