Fix oxyburn energy not accounting for heatscale (#24023)

(cherry picked from commit bd27b53ff0)
This commit is contained in:
Ilya246
2024-01-26 22:35:48 +01:00
committed by Debug
parent 00829cfa54
commit 6df985f9d3
@@ -19,7 +19,7 @@ namespace Content.Server.Atmos.Reactions
var initialTrit = mixture.GetMoles(Gas.Tritium);
if (mixture.GetMoles(Gas.Oxygen) < initialTrit ||
Atmospherics.MinimumTritiumOxyburnEnergy > (temperature * oldHeatCapacity))
Atmospherics.MinimumTritiumOxyburnEnergy > (temperature * oldHeatCapacity * heatScale))
{
burnedFuel = mixture.GetMoles(Gas.Oxygen) / Atmospherics.TritiumBurnOxyFactor;
if (burnedFuel > initialTrit)