Replace DetachParentToNull() with DetachEntity() (#29992)
DETACH PARENT TO ENTITY Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user