Prevent brains from walking (#15709)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace Content.Shared.Movement.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class MovementBodyPartComponent : Component
|
||||
{
|
||||
[DataField("walkSpeed")]
|
||||
public readonly float WalkSpeed = MovementSpeedModifierComponent.DefaultBaseWalkSpeed;
|
||||
|
||||
[DataField("sprintSpeed")]
|
||||
public readonly float SprintSpeed = MovementSpeedModifierComponent.DefaultBaseSprintSpeed;
|
||||
|
||||
[DataField("acceleration")]
|
||||
public float Acceleration = MovementSpeedModifierComponent.DefaultAcceleration;
|
||||
}
|
||||
Reference in New Issue
Block a user