mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Check if 'wc6' exists
Thanks Destinyy!
This commit is contained in:
parent
06942089fa
commit
b483cd8002
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue