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-03 22:28:48 +01:00
1 parent 430ffa23f8
commit 8fd8a2d4c3
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();