From: Fildrance Date: Fri, 13 Sep 2024 22:49:27 +0000 (+0300) Subject: Fix setmapatmos temperature argument X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=115ed0cdb2214e58425af2906a15877b4422c2c0;p=space-station-14.git Fix setmapatmos temperature argument Co-authored-by: pa.pecherskij --- diff --git a/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs b/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs index 6f04cfb2da..92dd64eeca 100644 --- a/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs +++ b/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs @@ -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)