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

DETACH PARENT TO ENTITY

Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
Plykiya
2024-07-13 03:59:33 -07:00
committed by GitHub
parent ac768fe9f1
commit 6c1d1057d5
6 changed files with 7 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ public abstract partial class SharedGunSystem
else
{
// Similar to below just due to prediction.
TransformSystem.DetachParentToNull(chamberEnt.Value, Transform(chamberEnt.Value));
TransformSystem.DetachEntity(chamberEnt.Value, Transform(chamberEnt.Value));
}
}