From d4de3e26463ca1702ecaaac4e975679ee0a296ce Mon Sep 17 00:00:00 2001 From: aqw42 Date: Fri, 30 May 2025 20:28:46 +0200 Subject: [PATCH] allow sending boat to disconnected allies --- src/core/game/TransportShipUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/game/TransportShipUtils.ts b/src/core/game/TransportShipUtils.ts index 5d3f6963c..4d7f5130d 100644 --- a/src/core/game/TransportShipUtils.ts +++ b/src/core/game/TransportShipUtils.ts @@ -23,7 +23,7 @@ export function canBuildTransportShip( if (other === player) { return false; } - if (other.isPlayer() && player.isFriendly(other)) { + if (other.isPlayer() && player.isFriendly(other) && !other.isDisconnected()) { return false; }