From b9cf9873a25b1561909334e90c98ec7ef0c852be Mon Sep 17 00:00:00 2001 From: Doctor-Cpu <77215380+Doctor-Cpu@users.noreply.github.com> Date: Fri, 10 Jan 2025 00:04:14 +0000 Subject: [PATCH] temperature damage fix --- Content.Server/Temperature/Systems/TemperatureSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Temperature/Systems/TemperatureSystem.cs b/Content.Server/Temperature/Systems/TemperatureSystem.cs index 4b700bbd87..b91f50d99b 100644 --- a/Content.Server/Temperature/Systems/TemperatureSystem.cs +++ b/Content.Server/Temperature/Systems/TemperatureSystem.cs @@ -252,7 +252,7 @@ private void EnqueueDamage(Entity temperature, ref OnTempe private void ChangeDamage(EntityUid uid, TemperatureComponent temperature) { - if (!HasComp(uid) && _body.GetBodyDamageable(uid).Count > 0) + if (!HasComp(uid) && _body.GetBodyDamageable(uid).Count < 0) return; // See this link for where the scaling func comes from: