]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix setmapatmos temperature argument
authorFildrance <fildrance@gmail.com>
Fri, 13 Sep 2024 22:49:27 +0000 (01:49 +0300)
committerGitHub <noreply@github.com>
Fri, 13 Sep 2024 22:49:27 +0000 (14:49 -0800)
Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
Content.Server/Atmos/Commands/SetMapAtmosCommand.cs

index 6f04cfb2da6d49017362f6c7bf7affa1bdd52753..92dd64eeca5586b743125fb58c43ad8482219d7d 100644 (file)
@@ -54,7 +54,7 @@ public sealed class AddMapAtmosCommand : LocalizedCommands
             return;
         }
 
-        var mix = new GasMixture(Atmospherics.CellVolume) {Temperature = Math.Min(temp, Atmospherics.TCMB)};
+        var mix = new GasMixture(Atmospherics.CellVolume) {Temperature = Math.Max(temp, Atmospherics.TCMB)};
         for (var i = 0; i < Atmospherics.TotalNumberOfGases; i++)
         {
             if (args.Length == 3 + i)