From 115ed0cdb2214e58425af2906a15877b4422c2c0 Mon Sep 17 00:00:00 2001 From: Fildrance Date: Sat, 14 Sep 2024 01:49:27 +0300 Subject: [PATCH] Fix setmapatmos temperature argument Co-authored-by: pa.pecherskij --- Content.Server/Atmos/Commands/SetMapAtmosCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs b/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs index 6f04cfb2da6d49..92dd64eeca5586 100644 --- a/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs +++ b/Content.Server/Atmos/Commands/SetMapAtmosCommand.cs @@ -54,7 +54,7 @@ public override void Execute(IConsoleShell shell, string argStr, string[] args) 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)