Check if 'wc6' exists

Thanks Destinyy!
This commit is contained in:
Kaphotics 2016-09-06 17:19:30 -07:00
parent 06942089fa
commit b483cd8002

View file

@ -76,6 +76,8 @@ namespace PKHeX
// Load Data
RawDB = new List<MysteryGift>();
RawDB.AddRange(Legal.WC6DB);
if (Directory.Exists(DatabasePath))
foreach (string file in Directory.GetFiles(DatabasePath, "*", SearchOption.AllDirectories))
{
FileInfo fi = new FileInfo(file);