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:
@@ -110,7 +110,7 @@ public sealed partial class AdminVerbSystem
|
|||||||
{
|
{
|
||||||
Text = Loc.GetString("admin-verb-text-make-head-rev"),
|
Text = Loc.GetString("admin-verb-text-make-head-rev"),
|
||||||
Category = VerbCategory.Antag,
|
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 = () =>
|
Act = () =>
|
||||||
{
|
{
|
||||||
if (!_minds.TryGetMind(args.Target, out var mindId, out var mind))
|
if (!_minds.TryGetMind(args.Target, out var mindId, out var mind))
|
||||||
|
|||||||
Reference in New Issue
Block a user