diff --git a/Yafc/Workspace/ProductionTable/ProductionTableView.cs b/Yafc/Workspace/ProductionTable/ProductionTableView.cs index 3e2642e4..ada20ed6 100644 --- a/Yafc/Workspace/ProductionTable/ProductionTableView.cs +++ b/Yafc/Workspace/ProductionTable/ProductionTableView.cs @@ -402,7 +402,7 @@ public override void BuildElement(ImGui gui, RecipeRow recipe) { for (int i = 0; i < recipe.recipe.ingredients.Length; i++) { var ingredient = recipe.recipe.ingredients[i]; var link = recipe.hierarchyEnabled ? recipe.links.ingredients[i] : null; - var goods = recipe.hierarchyEnabled ? ingredient.goods : null; + var goods = recipe.hierarchyEnabled ? recipe.links.ingredientGoods[i] : null; grid.Next(); view.BuildGoodsIcon(gui, goods, link, (float)(ingredient.amount * recipe.recipesPerSecond), ProductDropdownType.Ingredient, recipe, recipe.linkRoot, ingredient.variants); }