Thermomachines now excite the gas mixture they add heat to (#25916)
Atmospherics thermomachines now properly invalidate tiles they add heat to.
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Content.Server.Atmos.Piping.Unary.EntitySystems
|
||||
_atmosphereSystem.AddHeat(heatExchangeGasMixture, dQPipe);
|
||||
thermoMachine.LastEnergyDelta = dQPipe;
|
||||
|
||||
if (dQLeak != 0f && _atmosphereSystem.GetContainingMixture(uid) is { } containingMixture)
|
||||
if (dQLeak != 0f && _atmosphereSystem.GetContainingMixture(uid, excite: true) is { } containingMixture)
|
||||
_atmosphereSystem.AddHeat(containingMixture, dQLeak);
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace Content.Server.Atmos.Piping.Unary.EntitySystems
|
||||
heatExchangeGasMixture = null;
|
||||
if (thermoMachine.Atmospheric)
|
||||
{
|
||||
heatExchangeGasMixture = _atmosphereSystem.GetContainingMixture(uid);
|
||||
heatExchangeGasMixture = _atmosphereSystem.GetContainingMixture(uid, excite: true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user