Replace DetachParentToNull() with DetachEntity() (#29992)

DETACH PARENT TO ENTITY

Co-authored-by: plykiya <plykiya@protonmail.com>
(cherry picked from commit 6c1d1057d5d45e49e8d4262c495219b89c1bcf38)
This commit is contained in:
Plykiya
2024-07-13 03:59:33 -07:00
committed by Spatison
parent cd9a278d1f
commit 5cc6504d81
5 changed files with 6 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ namespace Content.Client.Stack
// TODO PREDICT ENTITY DELETION: This should really just be a normal entity deletion call.
if (component.Count <= 0 && !component.Lingering)
{
Xform.DetachParentToNull(uid, Transform(uid));
Xform.DetachEntity(uid, Transform(uid));
return;
}