Skip to content

Commit

Permalink
Fix moves not shown (fix #72)
Browse files Browse the repository at this point in the history
  • Loading branch information
drgoku282 committed Mar 15, 2017
1 parent d7b9c5b commit c8f22b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PKMN-NTR/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2300,6 +2300,7 @@ private void updateLegality(LegalityAnalysis la = null, bool skipMoveRepop = fal
{
var index = WinFormsUtil.getIndex(c);
c.DataSource = new BindingSource(moveList, null);
c.SelectedValue = index;
c.SelectionLength = 0; // flicker hack
}
fieldsLoaded |= tmp;
Expand Down Expand Up @@ -3091,7 +3092,7 @@ private void updateOriginGame(object sender, EventArgs e)
private void clickMetLocation(object sender, EventArgs e)
{
pkm = preparePKM();
updateLegality();
updateLegality(skipMoveRepop: true);
if (Legality.Valid)
return;

Expand Down

0 comments on commit c8f22b5

Please sign in to comment.