nextgamekey pauses game

next game key now pauses the game before switching.

Also commented out the list clear when stopping the shuffler for easy re shuffling
This commit is contained in:
Curt Reyes 2025-02-12 15:44:22 -07:00
parent 44d71b2319
commit c72ca40fe0

View File

@ -115,7 +115,7 @@ namespace GameShuffler
private void StopButton_Clicked(object sender, EventArgs e)
{
refreshButton.Enabled = true;
runningProcessesSelectionList.Items.Clear();
// runningProcessesSelectionList.Items.Clear();
runningProcessesSelectionList.Enabled = true;
startButton.Enabled = true;
minTimeTextBox.Enabled = true;
@ -255,6 +255,10 @@ namespace GameShuffler
if (id == NextGameKeyId && gamesToShuffle.Any())
{
if (currentGame != null)
{
SuspendProcess(currentGame);
}
StartNewGame();
}
}