diff --git a/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs b/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs index 473e55d68e..5bf56df8a8 100644 --- a/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs +++ b/Content.Server/GameObjects/Components/Doors/ServerDoorComponent.cs @@ -49,7 +49,7 @@ namespace Content.Server.GameObjects.Components.Doors protected bool AutoClose = true; protected const float AutoCloseDelay = 5; protected float CloseSpeed = AutoCloseDelay; - + private CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource(); protected virtual TimeSpan CloseTimeOne => TimeSpan.FromSeconds(0.3f); @@ -316,7 +316,7 @@ namespace Content.Server.GameObjects.Components.Doors { var atmosphereSystem = EntitySystem.Get(); - if (!Owner.Transform.GridPosition.TryGetTileAtmosphere(out var tileAtmos)) + if (!Owner.Transform.Coordinates.TryGetTileAtmosphere(out var tileAtmos)) return false; var gridAtmosphere = atmosphereSystem.GetGridAtmosphere(Owner.Transform.GridID); @@ -343,7 +343,7 @@ namespace Content.Server.GameObjects.Components.Doors { var atmosphereSystem = EntitySystem.Get(); - if (!Owner.Transform.GridPosition.TryGetTileAtmosphere(out var tileAtmos)) + if (!Owner.Transform.Coordinates.TryGetTileAtmosphere(out var tileAtmos)) return false; if (tileAtmos.Hotspot.Valid)