diff --git a/Common/SearchCriteria.cs b/Common/SearchCriteria.cs index 3c680e8..d731300 100644 --- a/Common/SearchCriteria.cs +++ b/Common/SearchCriteria.cs @@ -76,7 +76,7 @@ public List Matches(Dictionary> dinos, out int num_dino List result_list_of_dinos = new List(); num_dinos_matching_species_criteria = 0; - + foreach (var kvp in dinos) { string current_species = kvp.Key; @@ -84,10 +84,7 @@ public List Matches(Dictionary> dinos, out int num_dino if (matches_species(current_species)) { num_dinos_matching_species_criteria += dinos_for_species.Count; - - result_list_of_dinos.AddRange( - dinos_for_species.Where(matches_level_and_sex) - ); + result_list_of_dinos.AddRange(dinos_for_species.Where(matches_level_and_sex)); } }