]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove outdated NotNullWhen annotation (#29641)
authorjmcb <joelsgp@protonmail.com>
Mon, 1 Jul 2024 17:10:49 +0000 (18:10 +0100)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 17:10:49 +0000 (09:10 -0800)
A previous version of this function returned a bool. Since this no longer does that, remove the annotation.

Content.Server/Atmos/Piping/Other/EntitySystems/GasMinerSystem.cs

index 251ee797647a57bd2fda2b8dd1ad8c477cbcfd0f..1aa5973c968d49335dd5b3e6f89196455445c7a4 100644 (file)
@@ -39,7 +39,7 @@ namespace Content.Server.Atmos.Piping.Other.EntitySystems
             _atmosphereSystem.Merge(environment, merger);
         }
 
-        private float CapSpawnAmount(Entity<GasMinerComponent> ent, float toSpawnTarget, [NotNullWhen(true)] out GasMixture? environment)
+        private float CapSpawnAmount(Entity<GasMinerComponent> ent, float toSpawnTarget, out GasMixture? environment)
         {
             var (uid, miner) = ent;
             var transform = Transform(uid);