mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-05 03:52:14 +00:00
allow sending boat to disconnected allies
This commit is contained in:
@@ -23,7 +23,7 @@ export function canBuildTransportShip(
|
|||||||
if (other === player) {
|
if (other === player) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (other.isPlayer() && player.isFriendly(other)) {
|
if (other.isPlayer() && player.isFriendly(other) && !other.isDisconnected()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user