Add a command and verb to attach a body part to yourself (#2372)
* Add attachbodypart command * Make the slot name depend on the verb instead of the command
This commit is contained in:
@@ -286,7 +286,8 @@ namespace Content.Shared.GameObjects.Components.Body.Part
|
||||
|
||||
private void AddedToBody(IBody body)
|
||||
{
|
||||
Owner.Transform.AttachParent(Body!.Owner);
|
||||
Owner.Transform.LocalRotation = 0;
|
||||
Owner.Transform.AttachParent(body.Owner);
|
||||
OnAddedToBody(body);
|
||||
|
||||
foreach (var mechanism in _mechanisms)
|
||||
|
||||
Reference in New Issue
Block a user