Fix docking FTL to planets being impossible (#21780)
This commit is contained in:
@@ -176,7 +176,7 @@ public sealed partial class DockingSystem
|
|||||||
// Check if there's no intersecting grids (AKA oh god it's docking at cargo).
|
// Check if there's no intersecting grids (AKA oh god it's docking at cargo).
|
||||||
grids.Clear();
|
grids.Clear();
|
||||||
_mapManager.FindGridsIntersecting(targetGridXform.MapID, dockedBounds, ref grids);
|
_mapManager.FindGridsIntersecting(targetGridXform.MapID, dockedBounds, ref grids);
|
||||||
if (grids.Any(o => o.Owner != targetGrid))
|
if (grids.Any(o => o.Owner != targetGrid && o.Owner != targetGridXform.MapUid))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user