]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix oxyburn energy not accounting for heatscale (#24023)
authorIlya246 <57039557+Ilya246@users.noreply.github.com>
Sat, 13 Jan 2024 20:12:14 +0000 (00:12 +0400)
committerGitHub <noreply@github.com>
Sat, 13 Jan 2024 20:12:14 +0000 (12:12 -0800)
Content.Server/Atmos/Reactions/TritiumFireReaction.cs

index c52b431fd43acf09997eeac276fc20553d240fea..37c9741e86f0a1e08fe4a36ee4ba7164c3bb55cd 100644 (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)