diff --git a/Content.Server/Body/Systems/RespiratorSystem.cs b/Content.Server/Body/Systems/RespiratorSystem.cs index 3e0f1191a6..8155a3598e 100644 --- a/Content.Server/Body/Systems/RespiratorSystem.cs +++ b/Content.Server/Body/Systems/RespiratorSystem.cs @@ -99,7 +99,7 @@ namespace Content.Server.Body.Systems if (_gameTiming.CurTime >= respirator.LastGaspPopupTime + respirator.GaspPopupCooldown) { respirator.LastGaspPopupTime = _gameTiming.CurTime; - + if (TryComp(uid, out var metaDataComponent)) { _popupSystem.PopupEntity($"{metaDataComponent.EntityName} задыхается!", uid); @@ -257,7 +257,7 @@ namespace Content.Server.Body.Systems if (comp.CPRPerformedBy != null && comp.CPRPerformedBy != user) return false; - if (!TryComp(target, out _)) + if (!TryComp(target, out _) && !TryComp(user, out _)) return false; if (!TryComp(target, out MobStateComponent? targetState))