From 63762d85ca4f68de70830dc4fd5daaa3065cc002 Mon Sep 17 00:00:00 2001 From: Mervill Date: Fri, 16 Aug 2024 19:02:51 -0700 Subject: [PATCH] Fixs suffocation alerts not appearing. (#31115) Fixs suffocation alerts not appearing --- Content.Server/Body/Systems/RespiratorSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Body/Systems/RespiratorSystem.cs b/Content.Server/Body/Systems/RespiratorSystem.cs index 45074dc826..2854bbaeca 100644 --- a/Content.Server/Body/Systems/RespiratorSystem.cs +++ b/Content.Server/Body/Systems/RespiratorSystem.cs @@ -290,7 +290,7 @@ public sealed class RespiratorSystem : EntitySystem var organs = _bodySystem.GetBodyOrganEntityComps((ent, null)); foreach (var entity in organs) { - _alertsSystem.ShowAlert(entity.Owner, entity.Comp1.Alert); + _alertsSystem.ShowAlert(ent, entity.Comp1.Alert); } } @@ -306,7 +306,7 @@ public sealed class RespiratorSystem : EntitySystem var organs = _bodySystem.GetBodyOrganEntityComps((ent, null)); foreach (var entity in organs) { - _alertsSystem.ClearAlert(entity.Owner, entity.Comp1.Alert); + _alertsSystem.ClearAlert(ent, entity.Comp1.Alert); } _damageableSys.TryChangeDamage(ent, ent.Comp.DamageRecovery); -- 2.52.0