mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Fix oxyburn energy not accounting for heatscale (#24023)
(cherry picked from commit bd27b53ff0)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user