Skip to content

Commit

Permalink
Update FirstRunSetup.cs
Browse files Browse the repository at this point in the history
Call Application.Exit() when FirstRunSetup.FormClosed is called, fixing issue #21

Co-Authored-By: Ryan Walpole <69621127+RyanWalpole@users.noreply.github.com>
  • Loading branch information
RWELabs and RyanWalpole committed Mar 9, 2022
1 parent d6301aa commit bba19bd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,10 @@ private void Continue_Click(object sender, EventArgs e)
MessageBox.Show("The text you entered doesn't seem to be a valid file path. Please re-read the instructions and try again.", "Setup | Stardew Valley Modded Framework", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}

private void FirstRunSetup_FormClosed(object sender, FormClosedEventArgs e)
{
Application.Exit();
}
}
}

0 comments on commit bba19bd

Please sign in to comment.