Update ConstructionMenuPresenter.cs

This commit is contained in:
Ed
2025-05-27 23:15:14 +03:00
parent 8dfca40435
commit 2af8553f03

View File

@@ -206,9 +206,6 @@ namespace Content.Client.Construction.UI
{
foreach (var recipe in actualRecipes)
{
if (!recipe.Prototype.CrystallPunkAllowed) //CrystallEdge clearing recipes
continue;
var protoView = new EntityPrototypeView()
{
Scale = new Vector2(1.2f),
@@ -263,6 +260,9 @@ namespace Content.Client.Construction.UI
foreach (var recipe in _prototypeManager.EnumeratePrototypes<ConstructionPrototype>())
{
if (!recipe.CrystallPunkAllowed) //CrystallEdge filter vanilla recipes
continue;
if (recipe.Hide)
continue;