Remove most usages of obsolete TransformComponent methods (#19571)
This commit is contained in:
@@ -341,7 +341,7 @@ namespace Content.Server.Construction
|
||||
|
||||
// Transform transferring.
|
||||
var newTransform = Transform(newUid);
|
||||
newTransform.AttachToGridOrMap(); // in case in hands or a container
|
||||
_transform.AttachToGridOrMap(newUid, newTransform); // in case in hands or a container
|
||||
newTransform.LocalRotation = transform.LocalRotation;
|
||||
newTransform.Anchored = transform.Anchored;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user