Fix sensors blocking doors (#32591)
This commit is contained in:
@@ -552,8 +552,7 @@ public abstract partial class SharedDoorSystem : EntitySystem
|
|||||||
var tileRef = _mapSystem.GetTileRef(xform.GridUid.Value, mapGridComp, xform.Coordinates);
|
var tileRef = _mapSystem.GetTileRef(xform.GridUid.Value, mapGridComp, xform.Coordinates);
|
||||||
|
|
||||||
_doorIntersecting.Clear();
|
_doorIntersecting.Clear();
|
||||||
|
_entityLookup.GetLocalEntitiesIntersecting(xform.GridUid.Value, tileRef.GridIndices, _doorIntersecting, gridComp: mapGridComp, flags: (LookupFlags.All & ~LookupFlags.Sensors));
|
||||||
_entityLookup.GetLocalEntitiesIntersecting(xform.GridUid.Value, tileRef.GridIndices, _doorIntersecting, gridComp: mapGridComp);
|
|
||||||
|
|
||||||
// TODO SLOTH fix electro's code.
|
// TODO SLOTH fix electro's code.
|
||||||
// ReSharper disable once InconsistentNaming
|
// ReSharper disable once InconsistentNaming
|
||||||
|
|||||||
Reference in New Issue
Block a user