Cleanup duplicate dependency in AdminVerbSystem.Smites (#38473)

Cleanup duplicate dependency in AdminVerbSystem.Smites
This commit is contained in:
Tayrtahn
2025-06-20 18:43:53 -04:00
committed by GitHub
parent 49e810fd5b
commit 8e8f47497b

View File

@@ -79,7 +79,6 @@ public sealed partial class AdminVerbSystem
[Dependency] private readonly SharedTransformSystem _transformSystem = default!;
[Dependency] private readonly SuperBonkSystem _superBonkSystem = default!;
[Dependency] private readonly SlipperySystem _slipperySystem = default!;
[Dependency] private readonly OutfitSystem _outfitSystem = default!;
// All smite verbs have names so invokeverb works.
private void AddSmiteVerbs(GetVerbsEvent<Verb> args)
@@ -587,7 +586,7 @@ public sealed partial class AdminVerbSystem
Icon = new SpriteSpecifier.Rsi(new ("/Textures/Clothing/Uniforms/Jumpskirt/janimaid.rsi"), "icon"),
Act = () =>
{
_outfitSystem.SetOutfit(args.Target, "JanitorMaidGear", (_, clothing) =>
_outfit.SetOutfit(args.Target, "JanitorMaidGear", (_, clothing) =>
{
if (HasComp<ClothingComponent>(clothing))
EnsureComp<UnremoveableComponent>(clothing);