Remove problematic body code (#10783)

This commit is contained in:
Leon Friedrich
2022-08-23 18:33:46 +12:00
committed by GitHub
parent 425b3296e6
commit 86f41478c8

View File

@@ -257,9 +257,6 @@ namespace Content.Shared.Body.Components
private void AddedToBody(SharedBodyComponent body) private void AddedToBody(SharedBodyComponent body)
{ {
var transformComponent = _entMan.GetComponent<TransformComponent>(Owner);
transformComponent.LocalRotation = 0;
transformComponent.AttachParent(body.Owner);
OnAddedToBody(body); OnAddedToBody(body);
foreach (var mechanism in _mechanisms) foreach (var mechanism in _mechanisms)