Remove some more unused fields

This commit is contained in:
metalgearsloth
2021-10-13 17:38:20 +11:00
parent 7fe7c46373
commit 07303e7a4b
7 changed files with 2 additions and 16 deletions

View File

@@ -54,7 +54,7 @@ namespace Content.Shared.Gravity
}
[Serializable, NetSerializable]
protected sealed class GravityComponentState : ComponentState
private sealed class GravityComponentState : ComponentState
{
public bool Enabled { get; }

View File

@@ -19,7 +19,6 @@ namespace Content.Shared.Interaction
public abstract class SharedInteractionSystem : EntitySystem
{
[Dependency] private readonly SharedPhysicsSystem _sharedBroadphaseSystem = default!;
[Dependency] private readonly SharedPopupSystem _popupSystem = default!;
public const float InteractionRange = 2;
public const float InteractionRangeSquared = InteractionRange * InteractionRange;

View File

@@ -21,9 +21,6 @@ namespace Content.Shared.Pulling.Components
{
public override string Name => "Pullable";
// At this point this field exists solely for the component dependency (which is mandatory).
[ComponentDependency] private readonly PhysicsComponent? _physics = default!;
public float? MaxDistance => PullJoint?.MaxLength;
/// <summary>