Merge pull request #759 from chenzw95/file-ext-fix

Fix acceptable PKX file extensions being off by one
This commit is contained in:
Kaphotics 2017-01-27 08:21:41 -08:00 committed by GitHub
commit ec3d6d5177

View file

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