restore alliance trade safety

This commit is contained in:
David Eskin
2025-04-23 23:09:03 -04:00
parent 7119923e09
commit 304cbb6e8f
+1
View File
@@ -145,6 +145,7 @@ export class WarshipExecution implements Execution {
(unit.type() !== UnitType.TradeShip ||
(hasPort &&
unit.dstPort()?.owner() !== this.warship.owner() &&
!unit.dstPort()?.owner().isFriendly(this.warship.owner()) &&
unit.isSafeFromPirates() !== true)),
);