]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix sensors blocking doors (#32591)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Wed, 2 Oct 2024 05:00:48 +0000 (15:00 +1000)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2024 05:00:48 +0000 (23:00 -0600)
Content.Shared/Doors/Systems/SharedDoorSystem.cs

index 4d88663ca09641b36d7ba803e01a80c81ef65c09..80e7ff966986e30391a3d1fba4325d8e2467ab88 100644 (file)
@@ -552,8 +552,7 @@ public abstract partial class SharedDoorSystem : EntitySystem
         var tileRef = _mapSystem.GetTileRef(xform.GridUid.Value, mapGridComp, xform.Coordinates);
 
         _doorIntersecting.Clear();
-
-        _entityLookup.GetLocalEntitiesIntersecting(xform.GridUid.Value, tileRef.GridIndices, _doorIntersecting, gridComp: mapGridComp);
+        _entityLookup.GetLocalEntitiesIntersecting(xform.GridUid.Value, tileRef.GridIndices, _doorIntersecting, gridComp: mapGridComp, flags: (LookupFlags.All & ~LookupFlags.Sensors));
 
         // TODO SLOTH fix electro's code.
         // ReSharper disable once InconsistentNaming