Change ThrownItemComponent to be removed after flytime (#20700)
This commit is contained in:
@@ -259,6 +259,7 @@ public abstract partial class SharedTetherGunSystem : EntitySystem
|
||||
{
|
||||
var thrown = EnsureComp<ThrownItemComponent>(component.Tethered.Value);
|
||||
_thrown.LandComponent(component.Tethered.Value, thrown, targetPhysics, true);
|
||||
_thrown.StopThrow(component.Tethered.Value, thrown);
|
||||
}
|
||||
|
||||
_physics.SetBodyStatus(targetPhysics, BodyStatus.OnGround);
|
||||
|
||||
Reference in New Issue
Block a user