Fixes bug where the PlasmaFire reaction wouldn't reset reaction results properly.

This would cause the hotspot volume to grow more and more until the hotspot bypasses processing and therefore doesn't spread anymore.
This commit is contained in:
Vera Aguilera Puerto
2021-03-28 14:28:04 +02:00
parent 610db55454
commit 0884bcf7ec
3 changed files with 57 additions and 47 deletions

View File

@@ -19,6 +19,7 @@ namespace Content.Server.Atmos.Reactions
var oldHeatCapacity = mixture.HeatCapacity;
var temperature = mixture.Temperature;
var location = holder as TileAtmosphere;
mixture.ReactionResults[GasReaction.Fire] = 0;
// More plasma released at higher temperatures
var temperatureScale = 0f;