mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-29 14:02:11 +00:00
fix transport ship execution null bug
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user