Merge branch 'develop' into Stefan1200-de-CParty_ArgumentException

This commit is contained in:
Stefan authored and GitHub committed 2021-09-23 13:18:37 +02:00
commit dd39064fbd
1 file changed
+6 -6
+6 -6
View File
@@ -328,21 +328,21 @@ namespace Vocaluxe.Screens
song.Save(); song.Save();
break; break;
// Restart Round and reload song file header // Restart Song and reload song from disk (not in party modes with multiple rounds)
case Keys.R: case Keys.R:
if (keyEvent.Mod == EModifier.Ctrl && _Pause) if (keyEvent.Mod == EModifier.Ctrl && _Pause && CGame.NumRounds == 1)
{ {
_RestartGame();
_SetPause(false); _SetPause(false);
_RestartRound();
} }
break; break;
// Restart Round and reload song file header // Restart Song and reload song from disk (not in party modes with multiple rounds)
case Keys.F5: case Keys.F5:
if (_Pause) if (_Pause && CGame.NumRounds == 1)
{ {
_RestartGame();
_SetPause(false); _SetPause(false);
_RestartRound();
} }
break; break;