Fix oxyburn energy not accounting for heatscale (#24023)

(cherry picked from commit bd27b53ff09d4288aee4b762f22b166d62a29f14)
This commit is contained in:
Ilya246 2024-01-14 00:12:14 +04:00 committed by Debug
parent 00829cfa54
commit 6df985f9d3
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 1 deletions

View File

@ -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)