mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Fix comparison
Wrong way!
This commit is contained in:
parent
c300e80e19
commit
e996135dd3
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ namespace PKHeX
|
|||
int lvl = pk6.CurrentLevel;
|
||||
foreach (DexLevel evo in evos)
|
||||
{
|
||||
if (lvl >= pk6.Met_Level && lvl <= evo.Level)
|
||||
if (lvl >= pk6.Met_Level && lvl >= evo.Level)
|
||||
dl.Add(new DexLevel { Species = evo.Species, Level = lvl });
|
||||
if (evo.Level > 0) // Level Up (from previous level)
|
||||
lvl--;
|
||||
|
|
Loading…
Reference in a new issue