From 84dfdd011d37ecfbda83e4003434abfaf057bb6c Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 10 Oct 2017 16:52:47 -0700 Subject: [PATCH] Remove crash notification no longer necessary https://github.com/kwsch/pk3DS/issues/210#issuecomment-335639507 --- pk3DS/Subforms/Gen6/TrainerRand.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pk3DS/Subforms/Gen6/TrainerRand.cs b/pk3DS/Subforms/Gen6/TrainerRand.cs index 39ff382..1211017 100644 --- a/pk3DS/Subforms/Gen6/TrainerRand.cs +++ b/pk3DS/Subforms/Gen6/TrainerRand.cs @@ -29,6 +29,9 @@ private void B_Close_Click(object sender, EventArgs e) } private void B_Save_Click(object sender, EventArgs e) { + if (WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Randomize all? Cannot undo.", "Double check Randomization settings before continuing.") != DialogResult.Yes) + return; + RSTE.rPKM = CHK_RandomPKM.Checked; RSTE.rSmart = CHK_BST.Checked; RSTE.rLevel = CHK_Level.Checked; @@ -98,9 +101,6 @@ private void B_Save_Click(object sender, EventArgs e) }; RSTE.rSpeciesRand.Initialize(); - if (WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Randomize all? Cannot undo.", "Double check Randomization settings before continuing.") != DialogResult.Yes) return; - if (!CHK_IgnoreSpecialClass.Checked) - if (WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Ignoring Special Trainer Classes has the chance of crashing your game in some battles!", "Continue anyway?") != DialogResult.Yes) return; RSTE.rDoRand = true; Close(); }