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.
This commit is contained in:
Kevin Zheng
2023-12-20 15:42:23 -08:00
committed by Debug
parent 18885e9fc3
commit 1d7a658c23

View File

@@ -123,7 +123,7 @@ namespace Content.Shared.Atmos
/// <summary>
/// Minimum temperature difference before the gas temperatures are just set to be equal.
/// </summary>
public const float MinimumTemperatureDeltaToConsider = 0.1f;
public const float MinimumTemperatureDeltaToConsider = 0.01f;
/// <summary>
/// Minimum temperature for starting superconduction.