fix (#374)
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user