]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixes colored gloves appearing incorrectly in chameleon menu (#29607)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Sun, 30 Jun 2024 07:28:17 +0000 (00:28 -0700)
committerGitHub <noreply@github.com>
Sun, 30 Jun 2024 07:28:17 +0000 (03:28 -0400)
Co-authored-by: plykiya <plykiya@protonmail.com>
Content.Client/Clothing/UI/ChameleonMenu.xaml.cs

index 4532484d8a3b5cea4f6aa8d6942bda1bfcd5a62d..bd45be4510f6ac2b994f388faad0580994d10ae2 100644 (file)
@@ -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);
         }
     }