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:
1 file changed
+6
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user