Restore location suggestion

closes #2064
This commit is contained in:
Kurt 2018-07-16 15:07:20 -07:00
parent 6ee534c4b1
commit 93ed2a8bb9

View file

@ -975,6 +975,8 @@ namespace PKHeX.WinForms.Controls
private void UpdateOriginGame(object sender, EventArgs e) private void UpdateOriginGame(object sender, EventArgs e)
{ {
GameVersion Version = (GameVersion)WinFormsUtil.GetIndex(CB_GameOrigin); GameVersion Version = (GameVersion)WinFormsUtil.GetIndex(CB_GameOrigin);
if (FieldsLoaded)
pkm.Version = (int)Version;
// check if differs // check if differs
var group = GameUtil.GetMetLocationVersionGroup(Version); var group = GameUtil.GetMetLocationVersionGroup(Version);
@ -999,7 +1001,6 @@ namespace PKHeX.WinForms.Controls
if (!FieldsLoaded) if (!FieldsLoaded)
return; return;
pkm.Version = (int)Version;
TID_Trainer.LoadIDValues(pkm); TID_Trainer.LoadIDValues(pkm);
UpdateLegality(); UpdateLegality();
} }