fix transport ship execution null bug

This commit is contained in:
Evan
2024-11-20 20:50:16 -08:00
parent cb44144fc6
commit b915737a0e
+3 -2
View File
@@ -127,9 +127,10 @@ export class TransportShipExecution implements Execution {
case PathFindResultType.PathNotFound:
// TODO: add to poisoned port list
console.warn(`path not found tot dst`)
this.dst = null
this.boat.delete()
this.active = false
break
return
}
}