Fixes colored gloves appearing incorrectly in chameleon menu (#29607)

Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
Plykiya
2024-06-30 00:28:17 -07:00
committed by GitHub
parent 92491c90e0
commit 6f8369ed6b

View File

@@ -75,8 +75,8 @@ public sealed partial class ChameleonMenu : DefaultWindow
button.OnPressed += _ => OnIdSelected?.Invoke(id); button.OnPressed += _ => OnIdSelected?.Invoke(id);
Grid.AddChild(button); Grid.AddChild(button);
var entityPrototypeView = new EntityPrototypeView(); var entityPrototypeView = new EntityPrototypeView();
entityPrototypeView.SetPrototype(proto);
button.AddChild(entityPrototypeView); button.AddChild(entityPrototypeView);
entityPrototypeView.SetPrototype(proto);
} }
} }