diff --git a/Content.Server/Atmos/Piping/Unary/EntitySystems/GasVentPumpSystem.cs b/Content.Server/Atmos/Piping/Unary/EntitySystems/GasVentPumpSystem.cs index 5f1b047a7e442b..9d9862ff1dde88 100644 --- a/Content.Server/Atmos/Piping/Unary/EntitySystems/GasVentPumpSystem.cs +++ b/Content.Server/Atmos/Piping/Unary/EntitySystems/GasVentPumpSystem.cs @@ -39,7 +39,6 @@ public sealed class GasVentPumpSystem : EntitySystem [Dependency] private readonly SharedToolSystem _toolSystem = default!; [Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!; [Dependency] private readonly IGameTiming _timing = default!; - // [Dependency] private readonly TransformSystem _transformSystem = default!; public override void Initialize() { base.Initialize(); @@ -341,7 +340,7 @@ private void OnInteractUsing(EntityUid uid, GasVentPumpComponent component, Inte if (args.Handled || component.UnderPressureLockout == false || !_toolSystem.HasQuality(args.Used, "Screwing") - || (!CompOrNull(uid)?.Anchored ?? false) // If component doesn't exist continue, else check for anchor, stops it from eating the deconstruction screwdrivering + || !Transform(uid).Anchored ) { return;