don't delete nukes when player dies. was creating a an error because nukeexecution tried deleting inactive unit.

This commit is contained in:
Evan
2024-12-26 09:56:12 -08:00
parent 2771d3d432
commit fa3b3478b7
2 changed files with 6 additions and 5 deletions
-3
View File
@@ -108,9 +108,6 @@ export class NukeExecution implements Execution {
}
}
}
// this.mg.units()
// .filter(b => euclideanDist(this.cell, b.tile().cell()) < this.magnitude + 50)
// .forEach(b => b.delete())
this.active = false
this.nuke.delete(false)
}