mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-29 12:12:11 +00:00
don't delete nukes when player dies. was creating a an error because nukeexecution tried deleting inactive unit.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user