diff --git a/Content.Server/Atmos/Portable/SpaceHeaterSystem.cs b/Content.Server/Atmos/Portable/SpaceHeaterSystem.cs index 1c05307c15..0d55ed12bd 100644 --- a/Content.Server/Atmos/Portable/SpaceHeaterSystem.cs +++ b/Content.Server/Atmos/Portable/SpaceHeaterSystem.cs @@ -112,7 +112,9 @@ public sealed class SpaceHeaterSystem : EntitySystem if (!TryComp(uid, out var thermoMachine)) return; - thermoMachine.TargetTemperature = float.Clamp(thermoMachine.TargetTemperature + args.Temperature, thermoMachine.MinTemperature, thermoMachine.MaxTemperature); + thermoMachine.TargetTemperature = float.Clamp(thermoMachine.TargetTemperature + args.Temperature, + spaceHeater.MinTemperature, + spaceHeater.MaxTemperature); UpdateAppearance(uid); DirtyUI(uid, spaceHeater);