We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa1433 commit 82988a8Copy full SHA for 82988a8
SubnauticaRandomiser/Objects/Recipe.cs
@@ -86,7 +86,12 @@ public TechType GetLinkedItem(int index)
86
87
public RecipeData ToRecipeData()
88
{
89
- return new RecipeData(Ingredients.Select(i => i.ToGameIngredient()).ToList());
+ var data = new RecipeData(Ingredients.Select(i => i.ToGameIngredient()).ToList())
90
+ {
91
+ craftAmount = CraftAmount,
92
+ LinkedItems = LinkedIngredients.ShallowCopy()
93
+ };
94
+ return data;
95
}
96
97
0 commit comments