Adds a new AtmosphereSystem.GetTileMixture() override (#21804)
This commit is contained in:
@@ -67,8 +67,7 @@ namespace Content.Server.Atmos.Piping.Unary.EntitySystems
|
||||
if (xform.GridUid == null)
|
||||
return;
|
||||
|
||||
var position = _transformSystem.GetGridOrMapTilePosition(uid, xform);
|
||||
|
||||
var position = _transformSystem.GetGridTilePositionOrDefault((uid,xform));
|
||||
var environment = _atmosphereSystem.GetTileMixture(xform.GridUid, xform.MapUid, position, true);
|
||||
|
||||
Scrub(timeDelta, scrubber, environment, outlet);
|
||||
|
||||
Reference in New Issue
Block a user