Fix sensors blocking doors (#32591)

This commit is contained in:
metalgearsloth 2024-10-02 15:00:48 +10:00 committed by deltanedas
parent 15f30c3db4
commit 0efacebd28
1 changed files with 1 additions and 2 deletions

View 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