From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Sun, 30 Jun 2024 07:28:17 +0000 (-0700) Subject: Fixes colored gloves appearing incorrectly in chameleon menu (#29607) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6f8369ed6bbd28cdbca2a6e0e5ed9b8555e20e13;p=space-station-14.git Fixes colored gloves appearing incorrectly in chameleon menu (#29607) Co-authored-by: plykiya --- diff --git a/Content.Client/Clothing/UI/ChameleonMenu.xaml.cs b/Content.Client/Clothing/UI/ChameleonMenu.xaml.cs index 4532484d8a..bd45be4510 100644 --- a/Content.Client/Clothing/UI/ChameleonMenu.xaml.cs +++ b/Content.Client/Clothing/UI/ChameleonMenu.xaml.cs @@ -75,8 +75,8 @@ public sealed partial class ChameleonMenu : DefaultWindow button.OnPressed += _ => OnIdSelected?.Invoke(id); Grid.AddChild(button); var entityPrototypeView = new EntityPrototypeView(); - entityPrototypeView.SetPrototype(proto); button.AddChild(entityPrototypeView); + entityPrototypeView.SetPrototype(proto); } }