Content changes for mapgrid kill (#12567)
This commit is contained in:
@@ -6,6 +6,7 @@ using Content.Shared.Atmos;
|
||||
using Content.Shared.Maps;
|
||||
using Robust.Shared.Console;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Map.Components;
|
||||
|
||||
namespace Content.Server.Atmos.EntitySystems;
|
||||
|
||||
@@ -100,7 +101,7 @@ public sealed partial class AtmosphereSystem
|
||||
|
||||
tile.Clear();
|
||||
var mixtureId = 0;
|
||||
foreach (var entUid in gridComp.Grid.GetAnchoredEntities(indices))
|
||||
foreach (var entUid in gridComp.GetAnchoredEntities(indices))
|
||||
{
|
||||
if (!TryComp(entUid, out AtmosFixMarkerComponent? afm))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user