From 45b6a39754c5cfcc75bf3b200b887fc0dffc41b8 Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 23 Sep 2021 19:50:12 +0200 Subject: [PATCH] Assuming playing party mode on ArgumentException If getting an ArgumentException while requesting song selection options (which the TicTacToe party mode do), I assume that Vocaluxe is playing a party mode. This allows detection of a running party mode in CScreenSing, to prevent song skipping (Shift/CTRL + Arrow Right) while playing party modes. --- Vocaluxe/Screens/CScreenSing.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vocaluxe/Screens/CScreenSing.cs b/Vocaluxe/Screens/CScreenSing.cs index 28adc43e..c1add464 100644 --- a/Vocaluxe/Screens/CScreenSing.cs +++ b/Vocaluxe/Screens/CScreenSing.cs @@ -436,6 +436,8 @@ namespace Vocaluxe.Screens } catch (ArgumentException) { + // Workaround to assume party mode here (TicTacToe game mode throw the ArgumentException) / Stefan1200 + _Sso.Selection.PartyMode = true; } _SingNotes[_SingBars].Init(0);