mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 13:58:33 +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…
Add table
Reference in a new issue