Skip to content

Commit

Permalink
Fix docking FTL to planets being impossible (#21780)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth authored Nov 22, 2023
1 parent 6fa144b commit 626313b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Shuttles/Systems/DockingSystem.Shuttle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public bool CanDock(
// 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;
}
Expand Down

0 comments on commit 626313b

Please sign in to comment.