Obsolete Logger cleanup for EntitySystems part 2 (#26159)

* Kill the static InRangeUnOccluded

* Adjusted 4 more EntitySystems that were missed.
This commit is contained in:
LordCarve
2024-03-17 08:31:09 +01:00
committed by GitHub
parent 90be67e679
commit 7d275a4b5e
14 changed files with 36 additions and 25 deletions

View File

@@ -66,6 +66,7 @@ namespace Content.Server.Administration.Systems
[Dependency] private readonly SharedPopupSystem _popup = default!;
[Dependency] private readonly StationSystem _stations = default!;
[Dependency] private readonly StationSpawningSystem _spawning = default!;
[Dependency] private readonly ExamineSystemShared _examine = default!;
private readonly Dictionary<ICommonSession, List<EditSolutionsEui>> _openSolutionUis = new();
@@ -416,7 +417,7 @@ namespace Content.Server.Administration.Systems
Act = () =>
{
var message = ExamineSystemShared.InRangeUnOccluded(args.User, args.Target)
var message = _examine.InRangeUnOccluded(args.User, args.Target)
? Loc.GetString("in-range-unoccluded-verb-on-activate-not-occluded")
: Loc.GetString("in-range-unoccluded-verb-on-activate-occluded");