diff --git a/src/core/game/GameView.ts b/src/core/game/GameView.ts index 080698b65..c4578baae 100644 --- a/src/core/game/GameView.ts +++ b/src/core/game/GameView.ts @@ -98,9 +98,6 @@ export class UnitView { return this.data.constructionType; } dstPortId(): number | undefined { - if (this.type() !== UnitType.TradeShip) { - throw Error("Must be a trade ship"); - } return this.data.dstPortId; } detonationDst(): TileRef | undefined {