]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix Admin Antag ctrl headrev icon to use RSI instead of texture (#24474)
authorcrazybrain23 <44417085+crazybrain23@users.noreply.github.com>
Wed, 24 Jan 2024 02:34:21 +0000 (02:34 +0000)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2024 02:34:21 +0000 (18:34 -0800)
Fix the warning about direct texture for headrev

Content.Server/Administration/Systems/AdminVerbSystem.Antags.cs

index 5a436d390a7870aa55579988c4ef256268818c4d..dc48377e13fff094a8b3bc7941427d502f3b1623 100644 (file)
@@ -110,7 +110,7 @@ public sealed partial class AdminVerbSystem
         {
             Text = Loc.GetString("admin-verb-text-make-head-rev"),
             Category = VerbCategory.Antag,
-            Icon = new SpriteSpecifier.Texture(new("/Textures/Interface/Misc/job_icons.rsi/HeadRevolutionary.png")),
+            Icon = new SpriteSpecifier.Rsi(new("/Textures/Interface/Misc/job_icons.rsi"), "HeadRevolutionary"),
             Act = () =>
             {
                 if (!_minds.TryGetMind(args.Target, out var mindId, out var mind))