Content side for removing IMap / IMapGrid comps (#12357)
This commit is contained in:
@@ -342,7 +342,7 @@ namespace Content.Server.ParticleAccelerator.Components
|
||||
var xform = _entMan.GetComponent<TransformComponent>(Owner);
|
||||
|
||||
// Find fuel chamber first by scanning cardinals.
|
||||
if (xform.Anchored && _entMan.TryGetComponent(xform.GridUid, out IMapGridComponent? grid))
|
||||
if (xform.Anchored && _entMan.TryGetComponent(xform.GridUid, out MapGridComponent? grid))
|
||||
{
|
||||
foreach (var maybeFuel in grid.Grid.GetCardinalNeighborCells(xform.Coordinates))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user