mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-30 15:59:13 +00:00
Fix directory not found issue
Thanks ArcticLoveBunny!
This commit is contained in:
parent
757cf11f52
commit
ef35055d4e
1 changed files with 1 additions and 0 deletions
|
@ -1367,6 +1367,7 @@ namespace PKHeX.WinForms
|
||||||
var g6 = getWC6DB(Resources.wc6, Resources.wc6full);
|
var g6 = getWC6DB(Resources.wc6, Resources.wc6full);
|
||||||
var g7 = getWC7DB(Resources.wc7, Resources.wc7full);
|
var g7 = getWC7DB(Resources.wc7, Resources.wc7full);
|
||||||
|
|
||||||
|
if (Directory.Exists(MGDatabasePath))
|
||||||
foreach (var file in Directory.GetFiles(MGDatabasePath, "*", SearchOption.AllDirectories))
|
foreach (var file in Directory.GetFiles(MGDatabasePath, "*", SearchOption.AllDirectories))
|
||||||
{
|
{
|
||||||
var fi = new FileInfo(file);
|
var fi = new FileInfo(file);
|
||||||
|
|
Loading…
Reference in a new issue