Reparent crafted items (#15848)

This commit is contained in:
Kevin Zheng
2023-05-04 11:03:45 -08:00
committed by GitHub
parent 623c914c87
commit bb9e36faca

View File

@@ -342,6 +342,7 @@ namespace Content.Server.Construction
// Transform transferring.
var newTransform = Transform(newUid);
newTransform.AttachToGridOrMap(); // in case in hands or a container
newTransform.LocalRotation = transform.LocalRotation;
newTransform.Anchored = transform.Anchored;