Skip to content

Commit

Permalink
Fix setmapatmos temperature argument
Browse files Browse the repository at this point in the history
Co-authored-by: pa.pecherskij <[email protected]>
  • Loading branch information
Fildrance and pa.pecherskij committed Sep 13, 2024
1 parent 1e9c8f0 commit 115ed0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Atmos/Commands/SetMapAtmosCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 115ed0c

Please sign in to comment.