@@ -670,7 +670,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
public GasMixture? GetTileMixture(EntityCoordinates coordinates, bool invalidate = false)
|
||||
{
|
||||
return TryGetGridAndTile(coordinates, out var tuple)
|
||||
? GetTileMixture(tuple.Value.Grid, tuple.Value.Tile, invalidate) : null;
|
||||
? GetTileMixture(tuple.Value.Grid, tuple.Value.Tile, invalidate) : GasMixture.SpaceGas;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
foreach (var exposed in EntityManager.ComponentManager.EntityQuery<AtmosExposedComponent>())
|
||||
{
|
||||
// TODO ATMOS: Kill this with fire.
|
||||
var tile = GetTileAtmosphereOrCreateSpace(exposed.Owner.Transform.Coordinates);
|
||||
var tile = GetTileMixture(exposed.Owner.Transform.Coordinates);
|
||||
if (tile == null) continue;
|
||||
exposed.Update(tile, _exposedTimer, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user