]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix docking FTL to planets being impossible (#21780)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Wed, 22 Nov 2023 01:02:02 +0000 (12:02 +1100)
committerGitHub <noreply@github.com>
Wed, 22 Nov 2023 01:02:02 +0000 (20:02 -0500)
Content.Server/Shuttles/Systems/DockingSystem.Shuttle.cs

index fd9cf67c5a08fc75ea53be1a72b408f203273728..0fa82c303f64121e3b63d72aa6deb88ba0fb06ea 100644 (file)
@@ -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;
                    }