From: Tayrtahn Date: Tue, 13 May 2025 16:08:45 +0000 (-0400) Subject: Cleanup warnings in `RandomArtifactSpriteSystem` (#37418) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d1553bd4749ec85b02e59879ad0c536724b3a35d;p=space-station-14.git Cleanup warnings in `RandomArtifactSpriteSystem` (#37418) Cleanup warnings in RandomArtifactSpriteSystem --- diff --git a/Content.Client/Xenoarchaeology/XenoArtifacts/RandomArtifactSpriteSystem.cs b/Content.Client/Xenoarchaeology/XenoArtifacts/RandomArtifactSpriteSystem.cs index b02c44f920..030d1a364b 100644 --- a/Content.Client/Xenoarchaeology/XenoArtifacts/RandomArtifactSpriteSystem.cs +++ b/Content.Client/Xenoarchaeology/XenoArtifacts/RandomArtifactSpriteSystem.cs @@ -5,6 +5,8 @@ namespace Content.Client.Xenoarchaeology.XenoArtifacts; public sealed class RandomArtifactSpriteSystem : VisualizerSystem { + [Dependency] private readonly SpriteSystem _sprite = default!; + protected override void OnAppearanceChange(EntityUid uid, RandomArtifactSpriteComponent component, ref AppearanceChangeEvent args) { if (args.Sprite == null) @@ -23,24 +25,24 @@ public sealed class RandomArtifactSpriteSystem : VisualizerSystem