From 1d018730dff0880acc352f2d20fba3ed132dc423 Mon Sep 17 00:00:00 2001 From: "pa.pecherskij" Date: Fri, 13 Sep 2024 18:26:21 +0300 Subject: [PATCH] fix: setmapatmos console command now can actually set temprature for map atmosphere to value from arguments --- 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 6f04cfb2da6..92dd64eeca5 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)