Fix 3-6 extension filters

Should cap out their valid filters at the generation for the save file.
This commit is contained in:
Kurt 2017-01-27 09:13:42 -08:00
parent 1922a2145f
commit e9cd03d72f

View file

@ -29,7 +29,7 @@ namespace PKHeX.Core
public virtual string[] PKMExtensions => PKM.Extensions.Where(f =>
{
int gen = f.Last() - 0x30;
return 3 <= gen && gen <= 7;
return 3 <= gen && gen <= Generation;
}).ToArray();
// General PKM Properties