Update legality display before alert

Instead of updating after displaying why it's (not) legal.
This commit is contained in:
Kaphotics 2016-03-20 21:57:50 -07:00
parent 7e6c92f343
commit 17109093bd

View file

@ -2152,9 +2152,9 @@ namespace PKHeX
private void showLegality(PK6 pk, bool tabs)
{
LegalityAnalysis la = new LegalityAnalysis(pk);
Util.Alert(la.Report); // temp
if (tabs)
updateLegality(la);
Util.Alert(la.Report); // temp
}
private void updateLegality(LegalityAnalysis la = null)
{