mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 23:16:41 -05:00
Fix EXP dropping to level threshold
Only set back if the fields have been loaded.
This commit is contained in:
@@ -1450,7 +1450,8 @@ private void updateEXPLevel(object sender, EventArgs e)
|
||||
TB_EXP.Text = PKX.getEXP(Level, Util.getIndex(CB_Species)).ToString();
|
||||
}
|
||||
changingFields = false;
|
||||
pkm.EXP = Util.ToUInt32(TB_EXP.Text);
|
||||
if (fieldsLoaded)
|
||||
pkm.EXP = Util.ToUInt32(TB_EXP.Text);
|
||||
updateStats();
|
||||
updateLegality();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user