don't alert on delete trade ship or shell

This commit is contained in:
Evan
2024-12-12 21:12:29 -08:00
parent 953a30970e
commit 2816ba1807
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -25,7 +25,7 @@ export class ShellExecution implements Execution {
return
}
if (!this.target.isActive()) {
this.shell.delete()
this.shell.delete(false)
this.active = false
return
}
@@ -35,7 +35,7 @@ export class ShellExecution implements Execution {
case PathFindResultType.Completed:
this.active = false
this.target.delete()
this.shell.delete()
this.shell.delete(false)
return
case PathFindResultType.NextTile:
this.shell.move(result.tile)
@@ -45,7 +45,7 @@ export class ShellExecution implements Execution {
case PathFindResultType.PathNotFound:
console.log(`Shell ${this.shell} could not find target`)
this.active = false
this.shell.delete()
this.shell.delete(false)
return
}
}