replace all uses of TryGetContainingContainer with non-obsolete overload (#30583)
* replace all uses of TryGetContainerContainer with non-obsolete overload * rerun
This commit is contained in:
@@ -211,7 +211,7 @@ public sealed partial class PolymorphSystem : EntitySystem
|
||||
var childXform = Transform(child);
|
||||
_transform.SetLocalRotation(child, targetTransformComp.LocalRotation, childXform);
|
||||
|
||||
if (_container.TryGetContainingContainer(uid, out var cont))
|
||||
if (_container.TryGetContainingContainer((uid, targetTransformComp, null), out var cont))
|
||||
_container.Insert(child, cont);
|
||||
|
||||
//Transfers all damage from the original to the new one
|
||||
|
||||
Reference in New Issue
Block a user