Replace ResourcePath with ResPath (#15308)
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Content.Shared.Verbs
|
||||
public VerbCategory(string text, string? icon, bool iconsOnly = false)
|
||||
{
|
||||
Text = Loc.GetString(text);
|
||||
Icon = icon == null ? null : new SpriteSpecifier.Texture(new ResourcePath(icon));
|
||||
Icon = icon == null ? null : new SpriteSpecifier.Texture(new(icon));
|
||||
IconsOnly = iconsOnly;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user