mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 07:04:16 +00:00
Update legality display before alert
Instead of updating after displaying why it's (not) legal.
This commit is contained in:
parent
7e6c92f343
commit
17109093bd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue