diff --git a/PaintRecipe.cs b/PaintRecipe.cs --- a/PaintRecipe.cs +++ b/PaintRecipe.cs @@ -58,19 +58,19 @@ namespace DesertPaintLab { } - public PaintRecipe(PaintRecipe other) - { - this.dirty = true; - this.reactions = other.reactions; - foreach (string reagentName in other.reagents) - { - this.reagents.Add(reagentName); - } - foreach (RecipeIngredient copyIngredient in other.recipe) - { - RecipeIngredient ingredient = new RecipeIngredient(copyIngredient.name, copyIngredient.quantity); - this.recipe.Add(ingredient); - } + public PaintRecipe(PaintRecipe other) + { + this.dirty = true; + this.reactions = other.reactions; + foreach (string reagentName in other.reagents) + { + this.reagents.Add(reagentName); + } + foreach (RecipeIngredient copyIngredient in other.recipe) + { + RecipeIngredient ingredient = new RecipeIngredient(copyIngredient.name, copyIngredient.quantity); + this.recipe.Add(ingredient); + } } public List Ingredients