mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
Update pkmeditor GB gui loop behavior
updating HP causes SPD to be updated, which is based on SPA; since SPA is yet to be updated, we trigger constant updates on an SPA > 15 until we crash. just use the SPD IV which is already capped by the pkmdata (this shouldn't refresh fields anyway when loading... whatever). Closes #1914
This commit is contained in:
parent
f5c9873348
commit
294a61c4c1
|
|
@ -103,7 +103,7 @@ private void RefreshDerivedValues(object sender)
|
|||
if (pkm.Format < 3)
|
||||
{
|
||||
TB_HPIV.Text = pkm.IV_HP.ToString();
|
||||
TB_SPDIV.Text = TB_SPAIV.Text;
|
||||
TB_SPDIV.Text = pkm.IV_SPD.ToString();
|
||||
|
||||
MainEditor.UpdateIVsGB(sender == null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user