Skip to content

Commit

Permalink
Corrected issue with local randomizer testing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrDew committed Jun 8, 2024
1 parent fe73dc8 commit d9c44dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pokedex/Pokedex/Controllers/AjaxController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ public TeamRandomizerViewModel GetPokemonTeam(int pokemonCount, List<int> select
if (testPokemonIds.Count() > 0)
{
pokemonIds = testPokemonIds;
pokemonList = this.GetAllPokemonWithoutForms().Where(x => pokemonIds.Any(y => y == x.Id)).ToList();
pokemonList = pokemonDetails.Where(x => pokemonIds.Any(y => y == x.Id)).ToList();
}
else
{
Expand Down

0 comments on commit d9c44dc

Please sign in to comment.