Fix empty savedatabackup folder

Expects a 'main' on launch, none found throws an exception before the
form is shown.
This commit is contained in:
Kaphotics 2016-08-01 20:38:55 -07:00
parent ea83159370
commit 43135ae274

View file

@ -116,7 +116,7 @@ namespace PKHeX
if (!SAV.Exportable) // No SAV loaded from exe args
{
string path = detectSaveFile();
if (path != null)
if (path != null && File.Exists(path))
openQuick(path, force: true);
else
GB_SAVtools.Visible = false;