From ac324553ce41a08815e78f8a4cec98833548ee56 Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 18 May 2023 19:49:55 -0400 Subject: [PATCH] Show critical mobs as Alive on crew monitor (#16571) --- Content.Server/Medical/SuitSensors/SuitSensorSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Medical/SuitSensors/SuitSensorSystem.cs b/Content.Server/Medical/SuitSensors/SuitSensorSystem.cs index 0929d88c71..821a7065d4 100644 --- a/Content.Server/Medical/SuitSensors/SuitSensorSystem.cs +++ b/Content.Server/Medical/SuitSensors/SuitSensorSystem.cs @@ -296,7 +296,7 @@ namespace Content.Server.Medical.SuitSensors // get health mob state var isAlive = false; if (EntityManager.TryGetComponent(sensor.User.Value, out MobStateComponent? mobState)) - isAlive = _mobStateSystem.IsAlive(sensor.User.Value, mobState); + isAlive = !_mobStateSystem.IsDead(sensor.User.Value, mobState); // get mob total damage var totalDamage = 0; -- 2.51.2