mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 08:38:16 +00:00
allow sending boat to disconnected allies
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user