mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-08 11:45:21 -05:00
Check if 'wc6' exists
Thanks Destinyy!
This commit is contained in:
@@ -76,6 +76,8 @@ public SAV_MysteryGiftDB(Main f1)
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user