# HG changeset patch # User Jason Maltzen # Date 2015-12-23 23:53:33 # Node ID 2481742fac33fd6e72230fbc69620e1c34f0b73b # Parent 78ecf5feebe4f59916bb18e88917640cc28b1b17 Fix line endings 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