From 76aae115a9d3e079616ca4f4cb772207c7233fbb Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Wed, 20 Dec 2023 15:42:23 -0800 Subject: [PATCH] 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. --- Content.Shared/Atmos/Atmospherics.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.51.2