Fixes colored gloves appearing incorrectly in chameleon menu (#29607)
Co-authored-by: plykiya <plykiya@protonmail.com>
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user