mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Fix drag&drop save file
Missed a 'return', the logic afterwards handles loading a PKM (which we know the file is NOT). Thanks @Favna Previous two commits & this one resolve #127
This commit is contained in:
parent
c14b87fcd9
commit
d8ed96fd69
1 changed files with 1 additions and 1 deletions
|
@ -4195,7 +4195,7 @@ namespace PKHeX
|
|||
return;
|
||||
string file = files[0];
|
||||
if (!PKX.getIsPKM(new FileInfo(file).Length))
|
||||
openQuick(file);
|
||||
{ openQuick(file); return; }
|
||||
|
||||
byte[] data = File.ReadAllBytes(file);
|
||||
PKM temp = PKMConverter.getPKMfromBytes(data);
|
||||
|
|
Loading…
Reference in a new issue