Fix oxyburn energy not accounting for heatscale (#24023)
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Content.Server.Atmos.Reactions
|
|||||||
var initialTrit = mixture.GetMoles(Gas.Tritium);
|
var initialTrit = mixture.GetMoles(Gas.Tritium);
|
||||||
|
|
||||||
if (mixture.GetMoles(Gas.Oxygen) < initialTrit ||
|
if (mixture.GetMoles(Gas.Oxygen) < initialTrit ||
|
||||||
Atmospherics.MinimumTritiumOxyburnEnergy > (temperature * oldHeatCapacity))
|
Atmospherics.MinimumTritiumOxyburnEnergy > (temperature * oldHeatCapacity * heatScale))
|
||||||
{
|
{
|
||||||
burnedFuel = mixture.GetMoles(Gas.Oxygen) / Atmospherics.TritiumBurnOxyFactor;
|
burnedFuel = mixture.GetMoles(Gas.Oxygen) / Atmospherics.TritiumBurnOxyFactor;
|
||||||
if (burnedFuel > initialTrit)
|
if (burnedFuel > initialTrit)
|
||||||
|
|||||||
Reference in New Issue
Block a user