Remove usages of obsolete SpriteView.Sprite.set() (#19500)
This commit is contained in:
@@ -50,8 +50,8 @@ namespace Content.Client.Verbs.UI
|
||||
{
|
||||
OverrideDirection = Direction.South,
|
||||
SetSize = new Vector2(ElementHeight, ElementHeight),
|
||||
Sprite = entManager.GetComponentOrNull<SpriteComponent>(verb.IconEntity.Value)
|
||||
};
|
||||
spriteView.SetEntity(verb.IconEntity.Value);
|
||||
|
||||
Icon.AddChild(spriteView);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user