From 0adb98d8cd26a55b6555e8ffb35aa57200be98ac 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 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)