Auto comp (#6416)
This commit is contained in:
@@ -16,8 +16,6 @@ namespace Content.Shared.Pulling.Components
|
||||
[RegisterComponent]
|
||||
public class SharedPullableComponent : Component
|
||||
{
|
||||
public override string Name => "Pullable";
|
||||
|
||||
public float? MaxDistance => PullJoint?.MaxLength;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -9,8 +9,6 @@ namespace Content.Shared.Pulling.Components
|
||||
[Friend(typeof(SharedPullingStateManagementSystem))]
|
||||
public class SharedPullerComponent : Component
|
||||
{
|
||||
public override string Name => "Puller";
|
||||
|
||||
// Before changing how this is updated, please see SharedPullerSystem.RefreshMovementSpeed
|
||||
public float WalkSpeedModifier => Pulling == default ? 1.0f : 0.75f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user