]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Reparent crafted items (#15848)
authorKevin Zheng <kevinz5000@gmail.com>
Thu, 4 May 2023 19:03:45 +0000 (11:03 -0800)
committerGitHub <noreply@github.com>
Thu, 4 May 2023 19:03:45 +0000 (12:03 -0700)
Content.Server/Construction/ConstructionSystem.Graph.cs

index 79a7c5e39c1ac6f877622a97ec0208234608191e..8a848495c8e8b15278d9623ecb13cff76b5a2ce4 100644 (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;