Fix Evolution Randomizer Crash (i->j)

Heh, silly.
This commit is contained in:
Kurt
2015-03-02 19:27:44 -08:00
parent 2baa2a8b27
commit f994b314a2

View File

@@ -143,7 +143,8 @@ private void B_RandAll_Click(object sender, EventArgs e)
{
CB_Species.SelectedIndex = i; // Get new Species
for (int j = 0; j < mb.Length; j++)
if (mb[j].SelectedIndex > 0) rb[i].SelectedIndex = rnd.Next(1, 722);
if (mb[j].SelectedIndex > 0)
rb[j].SelectedIndex = rnd.Next(1, 722);
}
setList();
Util.Alert("All Pokemon's Evolutions have been randomized!");