diff --git a/Content.Client/Kitchen/UI/MicrowaveBoundUserInterface.cs b/Content.Client/Kitchen/UI/MicrowaveBoundUserInterface.cs index be2f8440c7..dcfdf2cec3 100644 --- a/Content.Client/Kitchen/UI/MicrowaveBoundUserInterface.cs +++ b/Content.Client/Kitchen/UI/MicrowaveBoundUserInterface.cs @@ -98,10 +98,12 @@ namespace Content.Client.Kitchen.UI return; } + // TODO just use sprite view + Texture? texture; if (_entityManager.TryGetComponent(entity, out IconComponent? iconComponent)) { - texture = iconComponent.Icon?.Default; + texture = _entityManager.System().GetIcon(iconComponent); } else if (_entityManager.TryGetComponent(entity, out SpriteComponent? spriteComponent)) {