Errors fix

This commit is contained in:
Aviu00
2024-01-13 09:14:00 +03:00
parent e968fb695b
commit f4d3e0e920
19 changed files with 71 additions and 69 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;
}