diff --git a/Content.Client/Actions/ClientActionsComponent.cs b/Content.Client/Actions/ClientActionsComponent.cs index 3caab80cc6..2eed684ae9 100644 --- a/Content.Client/Actions/ClientActionsComponent.cs +++ b/Content.Client/Actions/ClientActionsComponent.cs @@ -27,9 +27,6 @@ namespace Content.Client.Actions [Dependency] private readonly IPlayerManager _playerManager = default!; [Dependency] private readonly IItemSlotManager _itemSlotManager = default!; - [ComponentDependency] private readonly HandsComponent? _handsComponent = null; - [ComponentDependency] private readonly ClientInventoryComponent? _inventoryComponent = null; - private ActionsUI? _ui; private EntityUid _highlightedEntity; diff --git a/Content.Client/Popups/PopupSystem.cs b/Content.Client/Popups/PopupSystem.cs index 34105c0493..977e63b2f7 100644 --- a/Content.Client/Popups/PopupSystem.cs +++ b/Content.Client/Popups/PopupSystem.cs @@ -19,7 +19,6 @@ namespace Content.Client.Popups public class PopupSystem : SharedPopupSystem { [Dependency] private readonly IUserInterfaceManager _userInterfaceManager = default!; - [Dependency] private readonly IPlayerManager _playerManager = default!; [Dependency] private readonly IEyeManager _eyeManager = default!; private readonly List _aliveLabels = new(); diff --git a/Content.Server/Administration/AdminVerbSystem.cs b/Content.Server/Administration/AdminVerbSystem.cs index 2d19e24831..d78140cc2f 100644 --- a/Content.Server/Administration/AdminVerbSystem.cs +++ b/Content.Server/Administration/AdminVerbSystem.cs @@ -38,7 +38,6 @@ namespace Content.Server.Administration [Dependency] private readonly IGameTiming _gameTiming = default!; [Dependency] private readonly EuiManager _euiManager = default!; [Dependency] private readonly GhostRoleSystem _ghostRoleSystem = default!; - [Dependency] private readonly VerbSystem _verbSystem = default!; public override void Initialize() { diff --git a/Content.Server/Kitchen/Components/KitchenSpikeComponent.cs b/Content.Server/Kitchen/Components/KitchenSpikeComponent.cs index 8f9b6b55d9..a41710baa3 100644 --- a/Content.Server/Kitchen/Components/KitchenSpikeComponent.cs +++ b/Content.Server/Kitchen/Components/KitchenSpikeComponent.cs @@ -32,8 +32,6 @@ namespace Content.Server.Kitchen.Components void IActivate.Activate(ActivateEventArgs eventArgs) { - SpriteComponent? sprite; - if (_meatParts == 0) { return; @@ -43,10 +41,7 @@ namespace Content.Server.Kitchen.Components if (!string.IsNullOrEmpty(_meatPrototype)) { var meat = Owner.EntityManager.SpawnEntity(_meatPrototype, Owner.Transform.Coordinates); - if (meat != null) - { - meat.Name = _meatName; - } + meat.Name = _meatName; } if (_meatParts != 0) diff --git a/Content.Shared/Gravity/GravityComponent.cs b/Content.Shared/Gravity/GravityComponent.cs index c5e77e7989..3e72fe751f 100644 --- a/Content.Shared/Gravity/GravityComponent.cs +++ b/Content.Shared/Gravity/GravityComponent.cs @@ -54,7 +54,7 @@ namespace Content.Shared.Gravity } [Serializable, NetSerializable] - protected sealed class GravityComponentState : ComponentState + private sealed class GravityComponentState : ComponentState { public bool Enabled { get; } diff --git a/Content.Shared/Interaction/SharedInteractionSystem.cs b/Content.Shared/Interaction/SharedInteractionSystem.cs index 91b7bc20ae..ea97f78c0f 100644 --- a/Content.Shared/Interaction/SharedInteractionSystem.cs +++ b/Content.Shared/Interaction/SharedInteractionSystem.cs @@ -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; diff --git a/Content.Shared/Pulling/Components/PullableComponent.cs b/Content.Shared/Pulling/Components/PullableComponent.cs index 893f3709a8..eddc1099c6 100644 --- a/Content.Shared/Pulling/Components/PullableComponent.cs +++ b/Content.Shared/Pulling/Components/PullableComponent.cs @@ -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; ///