diff --git a/Content.Server/Atmos/EntitySystems/AtmosphereWeatherDeviceSystem.cs b/Content.Server/Atmos/EntitySystems/AtmosphereWeatherDeviceSystem.cs index 1f491a65a4d..a88a9a7249c 100644 --- a/Content.Server/Atmos/EntitySystems/AtmosphereWeatherDeviceSystem.cs +++ b/Content.Server/Atmos/EntitySystems/AtmosphereWeatherDeviceSystem.cs @@ -144,15 +144,14 @@ public override void Update(float frameTime) { if (currentGas.Immutable) { - currentGas = new GasMixture(); - currentGas.CopyFrom(currentGas); + var newGas = new GasMixture(); + newGas.CopyFrom(currentGas); + currentGas = newGas; } currentGas.Temperature += temperatureChange; _atmosphere.SetMapAtmosphere(transform.MapUid!.Value, false, currentGas); } - - } } }