This commit is contained in:
Aviu00
2024-01-18 09:09:22 +03:00
parent 496aeda60e
commit 466992e6da
6 changed files with 29 additions and 16 deletions

View File

@@ -235,9 +235,10 @@ namespace Content.Server.Body.Systems
// WD start
private void OnHandInteract(EntityUid uid, RespiratorComponent component, InteractHandEvent args)
{
if (CanCPR(uid, component, args.User))
DoCPR(uid, component, args.User);
if (!CanCPR(uid, component, args.User))
return;
DoCPR(uid, component, args.User);
args.Handled = true;
}