mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
Correct Control Switching for G2->G7 (#1957)
Is there a reason for having GSC newTrack as USUM? This causes `origintrack = newTrack;` not to happen and thus controls don't switch from G2->G7 correctly.
This commit is contained in:
parent
6949cf103e
commit
044ae4e6fe
1 changed files with 1 additions and 4 deletions
|
@ -1025,10 +1025,7 @@ namespace PKHeX.WinForms.Controls
|
|||
pkm.Version = (int)Version;
|
||||
TID_Trainer.LoadIDValues(pkm);
|
||||
}
|
||||
if (newTrack == GameVersion.GSC && pkm.Format >= 7)
|
||||
newTrack = GameVersion.USUM;
|
||||
else if (pkm.Format < 3)
|
||||
newTrack = GameVersion.GSC;
|
||||
|
||||
if (newTrack != origintrack)
|
||||
{
|
||||
var met_list = GameInfo.GetLocationList(Version, pkm.Format, egg: false);
|
||||
|
|
Loading…
Reference in a new issue