Cleans up StatusIconSystem and fixing some bugs (#28270)
This commit is contained in:
@@ -806,7 +806,7 @@ namespace Content.Client.Lobby.UI
|
||||
TextureScale = new Vector2(2, 2),
|
||||
VerticalAlignment = VAlignment.Center
|
||||
};
|
||||
var jobIcon = _prototypeManager.Index<StatusIconPrototype>(job.Icon);
|
||||
var jobIcon = _prototypeManager.Index(job.Icon);
|
||||
icon.Texture = jobIcon.Icon.Frame0();
|
||||
selector.Setup(items, job.LocalizedName, 200, job.LocalizedDescription, icon);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user