Unused dependency cleanup. (#36760)

* take 2! fight!!!

* final touches

* reeeeeee
This commit is contained in:
Kyle Tyo
2025-04-20 09:56:39 -04:00
committed by GitHub
parent 0d0ac82484
commit a711912cba
10 changed files with 2 additions and 22 deletions

View File

@@ -3,7 +3,6 @@ using Content.Server.Administration.Managers;
using Content.Server.Administration.UI;
using Content.Server.Disposal.Tube;
using Content.Server.EUI;
using Content.Server.GameTicking;
using Content.Server.Ghost.Roles;
using Content.Server.Mind;
using Content.Server.Mind.Commands;
@@ -54,7 +53,6 @@ namespace Content.Server.Administration.Systems
[Dependency] private readonly AdminSystem _adminSystem = default!;
[Dependency] private readonly DisposalTubeSystem _disposalTubes = default!;
[Dependency] private readonly EuiManager _euiManager = default!;
[Dependency] private readonly GameTicker _ticker = default!;
[Dependency] private readonly GhostRoleSystem _ghostRoleSystem = default!;
[Dependency] private readonly UserInterfaceSystem _uiSystem = default!;
[Dependency] private readonly PrayerSystem _prayerSystem = default!;
@@ -146,7 +144,7 @@ namespace Content.Server.Administration.Systems
var stationUid = _stations.GetOwningStation(args.Target);
var profile = _ticker.GetPlayerProfile(targetActor.PlayerSession);
var profile = _gameTicker.GetPlayerProfile(targetActor.PlayerSession);
var mobUid = _spawning.SpawnPlayerMob(coords.Value, null, profile, stationUid);
if (_mindSystem.TryGetMind(args.Target, out var mindId, out var mindComp))
@@ -172,7 +170,7 @@ namespace Content.Server.Administration.Systems
var stationUid = _stations.GetOwningStation(args.Target);
var profile = _ticker.GetPlayerProfile(targetActor.PlayerSession);
var profile = _gameTicker.GetPlayerProfile(targetActor.PlayerSession);
_spawning.SpawnPlayerMob(coords.Value, null, profile, stationUid);
},
ConfirmationPopup = true,