mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
parent
6ee534c4b1
commit
93ed2a8bb9
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue