From 4a0c76ba76bf319ac543854be2a0f613a2f70aae Mon Sep 17 00:00:00 2001 From: Ed Date: Fri, 30 May 2025 23:14:22 +0300 Subject: [PATCH] Update GuideReagentReaction.xaml.cs --- .../Controls/GuideReagentReaction.xaml.cs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs index a1ca0a25eb..1a52166075 100644 --- a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs +++ b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs @@ -46,16 +46,11 @@ public sealed partial class GuideReagentReaction : BoxContainer, ISearchableCont SetReagents(products, ref productContainer, protoMan, false); // CP14 random reagents begin - //Container randomProductContainer = RandomProductsContainer; - //if (prototype.Cp14RandomProducts.Count > 0) - //{ - // // If there aren't any variations, this label will be not visible - // RandomVariationsLabel.Visible = true; -// - // var randomProducts = new Dictionary(prototype.Cp14RandomProducts[prototype.Cp14RandomProductIndex]); -// - // SetReagents(randomProducts, ref randomProductContainer, protoMan, false); - //} + if (prototype.Cp14RandomProducts.Count > 0) + { + var randomProducts = new Dictionary(prototype.Cp14RandomProducts[prototype.Cp14RandomProductIndex]); + SetReagents(randomProducts, ref productContainer, protoMan, false); + } // CP14 random reagents end var mixingCategories = new List();