Adds a new AtmosphereSystem.GetTileMixture() override (#21804)
This commit is contained in:
@@ -110,9 +110,7 @@ namespace Content.Server.Atmos.Piping.Binary.EntitySystems
|
||||
// Some of the gas from the mixture leaks when overclocked.
|
||||
if (pump.Overclocked)
|
||||
{
|
||||
var transform = Transform(uid);
|
||||
var indices = _transformSystem.GetGridOrMapTilePosition(uid, transform);
|
||||
var tile = _atmosphereSystem.GetTileMixture(transform.GridUid, null, indices, true);
|
||||
var tile = _atmosphereSystem.GetTileMixture(uid, excite: true);
|
||||
|
||||
if (tile != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user