Fix gen6 evo tree resize miss

https://projectpokemon.org/home/forums/topic/46144-a-couple-of-new-problems-in-the-pkhex-version/

Thanks CreamatedReptile2018 !
This commit is contained in:
Kurt 2018-07-09 22:51:01 -07:00
parent 93876d98eb
commit c8897161b7

View file

@ -88,7 +88,7 @@ namespace PKHeX.Core
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