mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Replace DetachParentToNull() with DetachEntity() (#29992)
DETACH PARENT TO ENTITY Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
committed by
deltanedas
co-authored by
plykiya
parent
a97f4ac9fd
commit
4dd3fa17e9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user