Replace DetachParentToNull() with DetachEntity() (#29992)
DETACH PARENT TO ENTITY Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
@@ -261,7 +261,7 @@ public sealed class ActionContainerSystem : EntitySystem
|
||||
if (action.Container == null)
|
||||
return;
|
||||
|
||||
_transform.DetachParentToNull(actionId, Transform(actionId));
|
||||
_transform.DetachEntity(actionId, Transform(actionId));
|
||||
|
||||
// Container removal events should have removed the action from the action container.
|
||||
// However, just in case the container was already deleted we will still manually clear the container field
|
||||
|
||||
Reference in New Issue
Block a user