Adds a new AtmosphereSystem.GetTileMixture() override (#21804)

This commit is contained in:
Leon Friedrich
2023-11-28 18:03:44 -05:00
committed by GitHub
parent c60205fa28
commit 918d8c2b34
14 changed files with 25 additions and 33 deletions

View File

@@ -22,7 +22,7 @@ public sealed class TempAffectingAnomalySystem : EntitySystem
{
var grid = xform.GridUid;
var map = xform.MapUid;
var indices = _xform.GetGridOrMapTilePosition(ent, xform);
var indices = _xform.GetGridTilePositionOrDefault((ent, xform));
var mixture = _atmosphere.GetTileMixture(grid, map, indices, true);
if (mixture is { })