Checks if a buckled entity is terminating before reparent (#13202)
This commit is contained in:
parent
e1b1541c56
commit
ca40c0fce2
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ public sealed partial class BuckleSystem
|
|||
var xform = Transform(buckleId);
|
||||
var oldBuckledXform = Transform(oldBuckledTo.Owner);
|
||||
|
||||
if (xform.ParentUid == oldBuckledXform.Owner)
|
||||
if (xform.ParentUid == oldBuckledXform.Owner && !Terminating(xform.ParentUid))
|
||||
{
|
||||
_containers.AttachParentToContainerOrGrid(xform);
|
||||
xform.WorldRotation = oldBuckledXform.WorldRotation;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue