From d5b15f68166cddf0840ba7a9f2836f2afc29a9cf Mon Sep 17 00:00:00 2001 From: Ed Date: Fri, 30 May 2025 21:05:19 +0300 Subject: [PATCH] Update GuideReagentReaction.xaml.cs --- .../Controls/GuideReagentReaction.xaml.cs | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs index 460e24272f..a1ca0a25eb 100644 --- a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs +++ b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs @@ -1,6 +1,5 @@ using System.Linq; using Content.Client.Message; -using Content.Client.UserInterface.Controls; // CP14 random reactions using Content.Client.UserInterface.ControlExtensions; using Content.Shared.Atmos.Prototypes; using Content.Shared.Chemistry.Components; @@ -47,16 +46,16 @@ 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); - } + //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); + //} // CP14 random reagents end var mixingCategories = new List();