mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-29 11:52:08 +00:00
refactor(pathfinding): remove unused PathStatus.PENDING
Drop PENDING from PathStatus/PathResult and remove dead PENDING branches from TradeShipExecution, TransportShipExecution, and WarshipExecution.
This commit is contained in:
@@ -248,8 +248,6 @@ export class TransportShipExecution implements Execution {
|
||||
case PathStatus.NEXT:
|
||||
this.boat.move(result.node);
|
||||
break;
|
||||
case PathStatus.PENDING:
|
||||
break;
|
||||
case PathStatus.NOT_FOUND: {
|
||||
// TODO: add to poisoned port list
|
||||
const map = this.mg.map();
|
||||
|
||||
Reference in New Issue
Block a user