mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 05:27:14 -05:00
Minor cleanup
extrabytes setting moved to another method, fixes all resharper problems
This commit is contained in:
parent
ddac932419
commit
bcb5f5f2bb
|
|
@ -262,7 +262,8 @@ private void loadConfig(out bool BAKprompt, out bool showChangelog, out int lang
|
|||
string l = Settings.Language;
|
||||
int lang = Array.IndexOf(GameInfo.lang_val, l);
|
||||
if (lang < 0) Array.IndexOf(GameInfo.lang_val, "en");
|
||||
languageID = lang < 0 ? 1 : lang;
|
||||
if (lang > -1)
|
||||
languageID = lang;
|
||||
|
||||
// Version Check
|
||||
if (Settings.Version.Length > 0) // already run on system
|
||||
|
|
@ -1026,7 +1027,6 @@ private void openSAV(SaveFile sav, string path)
|
|||
|
||||
|
||||
// Generational Interface
|
||||
byte[] extraBytes = new byte[1];
|
||||
Tip1.RemoveAll(); Tip2.RemoveAll(); Tip3.RemoveAll(); // TSV/PSV
|
||||
|
||||
FLP_Country.Visible = FLP_SubRegion.Visible = FLP_3DSRegion.Visible = SAV.Generation >= 6;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user