From ed2789a0e405a99095da17be196d550c14be734e Mon Sep 17 00:00:00 2001 From: jmcb Date: Mon, 1 Jul 2024 18:10:49 +0100 Subject: [PATCH] Remove outdated NotNullWhen annotation (#29641) A previous version of this function returned a bool. Since this no longer does that, remove the annotation. --- .../Atmos/Piping/Other/EntitySystems/GasMinerSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Atmos/Piping/Other/EntitySystems/GasMinerSystem.cs b/Content.Server/Atmos/Piping/Other/EntitySystems/GasMinerSystem.cs index 251ee79764..1aa5973c96 100644 --- a/Content.Server/Atmos/Piping/Other/EntitySystems/GasMinerSystem.cs +++ b/Content.Server/Atmos/Piping/Other/EntitySystems/GasMinerSystem.cs @@ -39,7 +39,7 @@ namespace Content.Server.Atmos.Piping.Other.EntitySystems _atmosphereSystem.Merge(environment, merger); } - private float CapSpawnAmount(Entity ent, float toSpawnTarget, [NotNullWhen(true)] out GasMixture? environment) + private float CapSpawnAmount(Entity ent, float toSpawnTarget, out GasMixture? environment) { var (uid, miner) = ent; var transform = Transform(uid); -- 2.51.2