Content changes for mapgrid kill (#12567)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using Content.Shared.Atmos;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
|
||||
namespace Content.Server.Explosion.EntitySystems;
|
||||
|
||||
// This partial part of the explosion system has all of the functions used to facilitate explosions moving across grids.
|
||||
@@ -289,7 +291,7 @@ public sealed partial class ExplosionSystem : EntitySystem
|
||||
/// Optionally ignore a specific Vector2i. Used by <see cref="OnTileChanged"/> when we already know that a
|
||||
/// given tile is not space. This avoids unnecessary TryGetTileRef calls.
|
||||
/// </remarks>
|
||||
private bool IsEdge(IMapGrid grid, Vector2i index, out NeighborFlag spaceDirections)
|
||||
private bool IsEdge(MapGridComponent grid, Vector2i index, out NeighborFlag spaceDirections)
|
||||
{
|
||||
spaceDirections = NeighborFlag.Invalid;
|
||||
for (var i = 0; i < NeighbourVectors.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user