diff --git a/Content.Client/RCD/RCDConstructionGhostSystem.cs b/Content.Client/RCD/RCDConstructionGhostSystem.cs index 0b6876005a..23dcf6485f 100644 --- a/Content.Client/RCD/RCDConstructionGhostSystem.cs +++ b/Content.Client/RCD/RCDConstructionGhostSystem.cs @@ -13,7 +13,6 @@ namespace Content.Client.RCD; public sealed class RCDConstructionGhostSystem : EntitySystem { [Dependency] private readonly IPlayerManager _playerManager = default!; - [Dependency] private readonly RCDSystem _rcdSystem = default!; [Dependency] private readonly IPlacementManager _placementManager = default!; [Dependency] private readonly IPrototypeManager _protoManager = default!; diff --git a/Content.Client/UserInterface/Systems/Actions/ActionUIController.cs b/Content.Client/UserInterface/Systems/Actions/ActionUIController.cs index a4157517ce..8d512c23ab 100644 --- a/Content.Client/UserInterface/Systems/Actions/ActionUIController.cs +++ b/Content.Client/UserInterface/Systems/Actions/ActionUIController.cs @@ -45,7 +45,6 @@ public sealed class ActionUIController : UIController, IOnStateChanged> _jobsByWeight = default!; @@ -366,7 +365,7 @@ public sealed partial class StationJobsSystem if (!_prototypeManager.TryIndex(jobId, out var job)) continue; - if (!job.CanBeAntag && (!_playerManager.TryGetSessionById(player, out var session) || antagBlocked.Contains(session))) + if (!job.CanBeAntag && (!_player.TryGetSessionById(player, out var session) || antagBlocked.Contains(session))) continue; if (weight is not null && job.Weight != weight.Value)