mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 01:32:44 +00:00
potential mirv sam fix
This commit is contained in:
@@ -65,8 +65,11 @@ export class SAMMissileExecution implements Execution {
|
||||
this._owner.id(),
|
||||
);
|
||||
this.active = false;
|
||||
this.target.delete();
|
||||
if (this.target.isActive()) {
|
||||
this.target.delete();
|
||||
}
|
||||
this.SAMMissile.delete(false);
|
||||
|
||||
return;
|
||||
} else {
|
||||
this.SAMMissile.move(result);
|
||||
|
||||
Reference in New Issue
Block a user