fix acceptable PKX file extensions being off by one

This commit is contained in:
chenzw95 2017-01-27 23:21:12 +08:00
parent 1589fc733e
commit a3e144d49c

View file

@ -2449,7 +2449,7 @@ namespace PKHeX.Core
const int gens = 7;
var result = new List<string>();
result.AddRange(new [] {"ck3", "xk3", "bk4"}); // Special Cases
for (int i = 1; i < gens; i++)
for (int i = 1; i <= gens; i++)
result.Add("pk"+i);
return result.ToArray();
}