mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 00:13:10 +00:00
Make non-exportable saves (fake) act as VC saves
https://github.com/kwsch/PKHeX/issues/2600#issuecomment-569125853
This commit is contained in:
parent
06348096aa
commit
420307d4bf
1 changed files with 1 additions and 2 deletions
|
@ -58,8 +58,7 @@
|
||||||
ActiveTrainer = sav;
|
ActiveTrainer = sav;
|
||||||
if (sav.Generation >= 3)
|
if (sav.Generation >= 3)
|
||||||
return AllowGBCartEra = false;
|
return AllowGBCartEra = false;
|
||||||
var path = sav.FileName;
|
bool vc = sav.Exportable || (sav.FileName?.EndsWith("dat") ?? false); // default to true for non-exportable
|
||||||
bool vc = path?.EndsWith("dat") ?? false;
|
|
||||||
return AllowGBCartEra = !vc; // physical cart selected
|
return AllowGBCartEra = !vc; // physical cart selected
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue