Fix oxyburn energy not accounting for heatscale (#24023)

This commit is contained in:
Ilya246
2024-01-14 00:12:14 +04:00
committed by GitHub
parent a97eb8dcdc
commit bd27b53ff0

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)