mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-14 08:00:33 -05: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
|
|
@ -58,8 +58,7 @@ public static bool InitFromSaveFileData(SaveFile sav)
|
|||
ActiveTrainer = sav;
|
||||
if (sav.Generation >= 3)
|
||||
return AllowGBCartEra = false;
|
||||
var path = sav.FileName;
|
||||
bool vc = path?.EndsWith("dat") ?? false;
|
||||
bool vc = sav.Exportable || (sav.FileName?.EndsWith("dat") ?? false); // default to true for non-exportable
|
||||
return AllowGBCartEra = !vc; // physical cart selected
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user