From 1e62e445f0b5298c50dc0ab7ff20f88563a13d5f Mon Sep 17 00:00:00 2001 From: Menshin Date: Thu, 7 Mar 2024 22:05:43 +0100 Subject: [PATCH] Thermomachines now excite the gas mixture they add heat to (#25916) Atmospherics thermomachines now properly invalidate tiles they add heat to. --- .../Piping/Unary/EntitySystems/GasThermoMachineSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Atmos/Piping/Unary/EntitySystems/GasThermoMachineSystem.cs b/Content.Server/Atmos/Piping/Unary/EntitySystems/GasThermoMachineSystem.cs index d376c6d9d6..d4ddd65a8e 100644 --- a/Content.Server/Atmos/Piping/Unary/EntitySystems/GasThermoMachineSystem.cs +++ b/Content.Server/Atmos/Piping/Unary/EntitySystems/GasThermoMachineSystem.cs @@ -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 { -- 2.51.2