Skip to content

Commit

Permalink
fix: setmapatmos console command now can actually set temprature for …
Browse files Browse the repository at this point in the history
…map atmosphere to value from arguments
  • Loading branch information
pa.pecherskij committed Sep 13, 2024
1 parent 1e9c8f0 commit 0adb98d
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 0adb98d

Please sign in to comment.