Fix oxyburn energy not accounting for heatscale (#24023)
(cherry picked from commit bd27b53ff09d4288aee4b762f22b166d62a29f14)
This commit is contained in:
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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue