Skip to content

Commit

Permalink
Fix gen6 evo tree resize miss
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Jul 10, 2018
1 parent 93876d9 commit c889716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PKHeX.Core/Legality/Evolutions/EvolutionTree.cs
Expand Up @@ -88,7 +88,7 @@ private EvolutionLineage[] CreateTree()
var lineage = new EvolutionLineage[Entries.Count];
for (int i = 0; i < Entries.Count; i++)
lineage[i] = new EvolutionLineage();
if (Game == GameVersion.ORAS)
if (Game == GameVersion.Gen6)
Array.Resize(ref lineage, MaxSpeciesTree + 1);

// Populate Lineages
Expand Down

0 comments on commit c889716

Please sign in to comment.