mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Invert evo level check comparison
I knew something was odd with this logic...
This commit is contained in:
parent
de3b89c409
commit
58f9e808d7
1 changed files with 1 additions and 1 deletions
|
@ -2606,7 +2606,7 @@ namespace PKHeX.Core
|
||||||
|
|
||||||
var evos = Legal.getValidPreEvolutions(pkm);
|
var evos = Legal.getValidPreEvolutions(pkm);
|
||||||
var matchEvo = evos.FirstOrDefault(z => z.Species == match.Species);
|
var matchEvo = evos.FirstOrDefault(z => z.Species == match.Species);
|
||||||
bool IsValid = matchEvo == null || matchEvo.Level < match.LevelMin;
|
bool IsValid = matchEvo == null || matchEvo.Level >= match.LevelMin;
|
||||||
return IsValid;
|
return IsValid;
|
||||||
}
|
}
|
||||||
private void verifyVersionEvolution()
|
private void verifyVersionEvolution()
|
||||||
|
|
Loading…
Reference in a new issue