Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mirrorcult committed Jul 10, 2022
1 parent b75dc76 commit a6d3dcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Content.Server/Atmos/EntitySystems/AtmosphereSystem.API.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ public ReactionResult ReactTile(EntityUid gridId, Vector2i tile)
public bool IsTileAirBlocked(EntityUid gridUid, Vector2i tile, AtmosDirection directions = AtmosDirection.All, IMapGridComponent? mapGridComp = null)
{
var ev = new IsTileAirBlockedMethodEvent(gridUid, tile, directions, mapGridComp);
RaiseLocalEvent(gridUid, ref ev);

// If nothing handled the event, it'll default to true.
return ev.Result;
}

Expand Down

0 comments on commit a6d3dcb

Please sign in to comment.