Silly for-loop fix

Wrong way.
This commit is contained in:
Kaphotics 2016-03-12 09:13:52 -08:00
parent d1e98cb429
commit af5b2e09f9

View file

@ -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;