Skip to content

Commit

Permalink
Update Ragdoll.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hatmatty committed Nov 2, 2021
1 parent 54901c2 commit e786457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/Ragdoll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class Ragdoll implements OnInit {
v.Destroy();
}
}
if (v.IsA("BasePart") && v.Name !== "HumanoidRootPart") {
if (v.IsA("BasePart") && v.Name !== "HumanoidRootPart" && v.Parent === character) {
v.CanCollide = true;
}
}
Expand Down

0 comments on commit e786457

Please sign in to comment.