mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-24 09:08:04 +03:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user