From: Kevin Zheng Date: Wed, 20 Dec 2023 23:42:23 +0000 (-0800) Subject: Reduce absolute temperature tolerance (#22782) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=76aae115a9d3e079616ca4f4cb772207c7233fbb;p=space-station-14.git Reduce absolute temperature tolerance (#22782) MinimumTemperatureDeltaToConsider sets the minimum temperature difference for a heat capacity calculation to be run. The problem is that when heating up large quantities of gas (e.g. with a heater), a small dT becomes an even smaller dT when running DivideInto(). This means that small changes in temperature are completely ignored. --- diff --git a/Content.Shared/Atmos/Atmospherics.cs b/Content.Shared/Atmos/Atmospherics.cs index 13674cded0..24fa5ada20 100644 --- a/Content.Shared/Atmos/Atmospherics.cs +++ b/Content.Shared/Atmos/Atmospherics.cs @@ -123,7 +123,7 @@ namespace Content.Shared.Atmos /// /// Minimum temperature difference before the gas temperatures are just set to be equal. /// - public const float MinimumTemperatureDeltaToConsider = 0.1f; + public const float MinimumTemperatureDeltaToConsider = 0.01f; /// /// Minimum temperature for starting superconduction.