mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ namespace PKHeX.WinForms.Controls
|
|||
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 a new issue