From: jmcb Date: Mon, 1 Jul 2024 17:10:49 +0000 (+0100) Subject: Remove outdated NotNullWhen annotation (#29641) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ed2789a0e405a99095da17be196d550c14be734e;p=space-station-14.git Remove outdated NotNullWhen annotation (#29641) A previous version of this function returned a bool. Since this no longer does that, remove the annotation. --- 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);