From af5b2e09f9a983b56dacbabaac84405486904b7a Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Sat, 12 Mar 2016 09:13:52 -0800 Subject: [PATCH] Silly for-loop fix Wrong way. --- Legality/Data.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Legality/Data.cs b/Legality/Data.cs index d1569efd2..55d3bea13 100644 --- a/Legality/Data.cs +++ b/Legality/Data.cs @@ -34,7 +34,7 @@ public static Learnset[] getArray(byte[][] entries) 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) return Moves.Take(i).ToArray(); return Moves;