Unflip level search <>

closes #1785
This commit is contained in:
Kurt 2018-01-27 13:24:16 -08:00
parent bc61980663
commit 523dfa32aa

View file

@ -529,11 +529,11 @@ namespace PKHeX.WinForms
switch (option) switch (option)
{ {
case 0: break; // Any (Do nothing) case 0: break; // Any (Do nothing)
case 1: // <= case 3: // <=
return res.Where(pk => pk.Stat_Level <= level); return res.Where(pk => pk.Stat_Level <= level);
case 2: // == case 2: // ==
return res.Where(pk => pk.Stat_Level == level); return res.Where(pk => pk.Stat_Level == level);
case 3: // >= case 1: // >=
return res.Where(pk => pk.Stat_Level >= level); return res.Where(pk => pk.Stat_Level >= level);
} }
return res; return res;