allow sending boat to disconnected allies

This commit is contained in:
aqw42
2025-05-30 20:28:46 +02:00
parent 113783ea9d
commit d4de3e2646
+1 -1
View File
@@ -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;
}