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).
|
||||
grids.Clear();
|
||||
_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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user