From 1eb3a3e6d162942beabb012b75e23fbd869029cd Mon Sep 17 00:00:00 2001 From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Sun, 30 Jun 2024 04:45:43 -0700 Subject: [PATCH] Fixes lathe usage of EntityPrototypeView (#29608) Co-authored-by: plykiya --- Content.Client/Lathe/UI/LatheMenu.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Lathe/UI/LatheMenu.xaml.cs b/Content.Client/Lathe/UI/LatheMenu.xaml.cs index d4bbe89c51..265130d15d 100644 --- a/Content.Client/Lathe/UI/LatheMenu.xaml.cs +++ b/Content.Client/Lathe/UI/LatheMenu.xaml.cs @@ -217,12 +217,12 @@ public sealed partial class LatheMenu : DefaultWindow queuedRecipeBox.Orientation = BoxContainer.LayoutOrientation.Horizontal; var queuedRecipeProto = new EntityPrototypeView(); + queuedRecipeBox.AddChild(queuedRecipeProto); if (_prototypeManager.TryIndex(recipe.Result, out EntityPrototype? entityProto) && entityProto != null) queuedRecipeProto.SetPrototype(entityProto); var queuedRecipeLabel = new Label(); queuedRecipeLabel.Text = $"{idx}. {recipe.Name}"; - queuedRecipeBox.AddChild(queuedRecipeProto); queuedRecipeBox.AddChild(queuedRecipeLabel); QueueList.AddChild(queuedRecipeBox); idx++;