Fix Admin Antag ctrl headrev icon to use RSI instead of texture (#24474)

Fix the warning about direct texture for headrev
This commit is contained in:
crazybrain23
2024-01-24 02:34:21 +00:00
committed by GitHub
parent c1fd42202f
commit 80e0e2d101

View 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))