Remove usages of obsolete SpriteView.Sprite.set() (#19500)
This commit is contained in:
@@ -94,12 +94,14 @@ namespace Content.Client.Lobby.UI
|
||||
|
||||
private SpriteView MakeSpriteView(EntityUid entity, Direction direction)
|
||||
{
|
||||
return new()
|
||||
var spriteView = new SpriteView
|
||||
{
|
||||
Sprite = _entityManager.GetComponent<SpriteComponent>(entity),
|
||||
OverrideDirection = direction,
|
||||
Scale = new Vector2(2, 2)
|
||||
Scale = new Vector2(2, 2),
|
||||
};
|
||||
|
||||
spriteView.SetEntity(entity);
|
||||
return spriteView;
|
||||
}
|
||||
|
||||
public void UpdateUI()
|
||||
|
||||
Reference in New Issue
Block a user