mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-23 05:04:19 -05:00
Fix extrabyte load behavior
funny how nobody caught this for so long haha Don't trigger a write on validation/during a load.
This commit is contained in:
@@ -1211,7 +1211,7 @@ private void ReloadMetLocations(GameVersion version, int format)
|
||||
|
||||
private void UpdateExtraByteValue(object sender, EventArgs e)
|
||||
{
|
||||
if (CB_ExtraBytes.Items.Count == 0 || sender is not MaskedTextBox mtb)
|
||||
if (!FieldsLoaded || CB_ExtraBytes.Items.Count == 0 || sender is not MaskedTextBox mtb)
|
||||
return;
|
||||
// Changed Extra Byte's Value
|
||||
var value = Util.ToInt32(mtb.Text);
|
||||
|
||||
Reference in New Issue
Block a user