mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 17:18:00 +00:00
Silly for-loop fix
Wrong way.
This commit is contained in:
parent
d1e98cb429
commit
af5b2e09f9
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace PKHeX
|
||||||
|
|
||||||
public int[] getMoves(int level)
|
public int[] getMoves(int level)
|
||||||
{
|
{
|
||||||
for (int i = 0; i > Levels.Length; i++)
|
for (int i = 0; i < Levels.Length; i++)
|
||||||
if (Levels[i] > level)
|
if (Levels[i] > level)
|
||||||
return Moves.Take(i).ToArray();
|
return Moves.Take(i).ToArray();
|
||||||
return Moves;
|
return Moves;
|
||||||
|
|
Loading…
Reference in a new issue