Merge pull request #478 from Vocaluxe/RestartRound_EnterKeyFix

Button "Restart Game" and "Restart Round" using Enter key did not close the pause menu
This commit is contained in:
Stefan authored and GitHub committed 2020-02-04 08:47:26 +01:00
commit 1d20f7eaea
1 file changed
+6
+6
View File
@@ -267,9 +267,15 @@ namespace Vocaluxe.Screens
if (_Buttons[_ButtonCancel].Selected)
_Stop();
if (_Buttons[_ButtonRestartGame].Selected)
{
_RestartGame();
_SetPause(false);
}
if (_Buttons[_ButtonRestartRound].Selected)
{
_RestartRound();
_SetPause(false);
}
if (_Buttons[_ButtonSkip].Selected)
{
_NextSong();