Copy personal rand files back to working files

Closes #225
This commit is contained in:
Kurt 2017-10-28 09:51:11 -07:00
parent 7e23374857
commit 2aa06370c0
2 changed files with 2 additions and 0 deletions

View File

@ -359,6 +359,7 @@ private void B_Randomize_Click(object sender, EventArgs e)
AllowWonderGuard = CHK_WGuard.Checked
};
rnd.Execute();
Main.SpeciesStat.Select(z => z.Write()).ToArray().CopyTo(files, 0);
readEntry();
WinFormsUtil.Alert("All relevant Pokémon Personal Entries have been randomized!");

View File

@ -311,6 +311,7 @@ private void B_Randomize_Click(object sender, EventArgs e)
AllowWonderGuard = CHK_WGuard.Checked
};
rnd.Execute();
Main.SpeciesStat.Select(z => z.Write()).ToArray().CopyTo(files, 0);
readEntry();
WinFormsUtil.Alert("All relevant Pokémon Personal Entries have been randomized!");