From: Ilya246 <57039557+Ilya246@users.noreply.github.com> Date: Sat, 13 Jan 2024 20:12:14 +0000 (+0400) Subject: Fix oxyburn energy not accounting for heatscale (#24023) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=bd27b53ff09d4288aee4b762f22b166d62a29f14;p=space-station-14.git Fix oxyburn energy not accounting for heatscale (#24023) --- diff --git a/Content.Server/Atmos/Reactions/TritiumFireReaction.cs b/Content.Server/Atmos/Reactions/TritiumFireReaction.cs index c52b431fd4..37c9741e86 100644 --- a/Content.Server/Atmos/Reactions/TritiumFireReaction.cs +++ b/Content.Server/Atmos/Reactions/TritiumFireReaction.cs @@ -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)