[Feat] Socket unjobban command (#78)

* Socket unjobban command

* fix for CPR system
This commit is contained in:
HitPanda
2023-05-23 12:31:20 +03:00
committed by Aviu00
parent bc2938bc08
commit fdb80c8537
3 changed files with 80 additions and 3 deletions

View File

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