Fix gen3 unknown game data setting

Grab the original data, not the expanded data.
Could always call 'clone' but the data hasn't been modified, so get the
original data.
This commit is contained in:
Kaphotics 2016-08-05 21:36:51 -07:00
parent 61573301d6
commit 98e72aefc8

View file

@ -720,11 +720,11 @@ namespace PKHeX
"Cancel: FireRed / LeafGreen");
if (drGame == DialogResult.Yes)
sav = new SAV3(sav.Data, GameVersion.RS);
sav = new SAV3(sav.BAK, GameVersion.RS);
else if (drGame == DialogResult.No)
sav = new SAV3(sav.Data, GameVersion.E);
sav = new SAV3(sav.BAK, GameVersion.E);
else
sav = new SAV3(sav.Data, GameVersion.FRLG);
sav = new SAV3(sav.BAK, GameVersion.FRLG);
}
var drJP = Util.Prompt(MessageBoxButtons.YesNoCancel, $"Generation 3 ({sav.Version}) Save File detected. Select Origins:", "Yes: International" + Environment.NewLine + "No: Japanese");
if (drJP == DialogResult.Cancel)