This commit is contained in:
rhailrake
2023-09-08 18:30:08 +06:00
committed by Aviu00
parent b52c223a5d
commit edee101e6f

View File

@@ -257,7 +257,7 @@ namespace Content.Server.Body.Systems
if (comp.CPRPerformedBy != null && comp.CPRPerformedBy != user) if (comp.CPRPerformedBy != null && comp.CPRPerformedBy != user)
return false; return false;
if (!TryComp<HumanoidAppearanceComponent>(target, out _)) if (!TryComp<HumanoidAppearanceComponent>(target, out _) && !TryComp<HumanoidAppearanceComponent>(user, out _))
return false; return false;
if (!TryComp(target, out MobStateComponent? targetState)) if (!TryComp(target, out MobStateComponent? targetState))