Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
This commit is contained in:
Moony
2022-11-08 14:10:31 -06:00
committed by GitHub
parent f081cd47fc
commit 8d56f7d875

View File

@@ -233,7 +233,7 @@ namespace Content.Server.Doors.Systems
if (!TryComp(xform.ParentUid, out GridAtmosphereComponent? gridAtmosphere))
return (false, false);
var grid = Comp<IMapGridComponent>(xform.ParentUid).Grid;
var grid = Comp<MapGridComponent>(xform.ParentUid).Grid;
var pos = grid.CoordinatesToTile(xform.Coordinates);
var minPressure = float.MaxValue;
var maxPressure = float.MinValue;