Fix rsi sprite access for verbs (#14284)

This commit is contained in:
metalgearsloth
2023-02-26 18:48:57 +11:00
committed by GitHub
parent a6d0c9b129
commit 44fb8a9e2d
53 changed files with 313 additions and 271 deletions

View File

@@ -38,7 +38,7 @@ namespace Content.Shared.Examine
Text = group.ContextText,
Message = group.HoverMessage,
Category = VerbCategory.Examine,
IconTexture = group.Icon
Icon = new SpriteSpecifier.Texture(new ResourcePath(group.Icon)),
};
args.Verbs.Add(examineVerb);
@@ -149,7 +149,7 @@ namespace Content.Shared.Examine
Text = verbText,
Message = hoverMessage,
Category = VerbCategory.Examine,
IconTexture = iconTexture
Icon = new SpriteSpecifier.Texture(new ResourcePath(iconTexture)),
};
verbsEvent.Verbs.Add(examineVerb);