diff --git a/PartyModes/PartyModeChallenge/PartyModeChallenge.cs b/PartyModes/PartyModeChallenge/PartyModeChallenge.cs index 2725a680..2b248af1 100644 --- a/PartyModes/PartyModeChallenge/PartyModeChallenge.cs +++ b/PartyModes/PartyModeChallenge/PartyModeChallenge.cs @@ -149,8 +149,8 @@ namespace VocaluxeLib.PartyModes.Challenge _ScreenSongOptions.Selection.RandomOnly = false; _ScreenSongOptions.Selection.PartyMode = true; _ScreenSongOptions.Selection.CategoryChangeAllowed = true; - _ScreenSongOptions.Selection.NumJokers = new[] {5, 5}; - _ScreenSongOptions.Selection.TeamNames = new[] {"foo", "bar"}; + _ScreenSongOptions.Selection.NumJokers = new int[] {5, 5}; + _ScreenSongOptions.Selection.TeamNames = new string[] {"foo", "bar"}; _ScreenSongOptions.Sorting.SearchString = String.Empty; _ScreenSongOptions.Sorting.SearchActive = false; @@ -501,30 +501,30 @@ namespace VocaluxeLib.PartyModes.Challenge switch (GameData.NumPlayerAtOnce) { case 1: - _ScreenSongOptions.Selection.NumJokers = new[] {10}; + _ScreenSongOptions.Selection.NumJokers = new int[] {10}; break; case 2: - _ScreenSongOptions.Selection.NumJokers = new[] {5, 5}; + _ScreenSongOptions.Selection.NumJokers = new int[] {5, 5}; break; case 3: - _ScreenSongOptions.Selection.NumJokers = new[] {4, 4, 4}; + _ScreenSongOptions.Selection.NumJokers = new int[] {4, 4, 4}; break; case 4: - _ScreenSongOptions.Selection.NumJokers = new[] {3, 3, 3, 3}; + _ScreenSongOptions.Selection.NumJokers = new int[] {3, 3, 3, 3}; break; case 5: - _ScreenSongOptions.Selection.NumJokers = new[] {2, 2, 2, 2, 2}; + _ScreenSongOptions.Selection.NumJokers = new int[] {2, 2, 2, 2, 2}; break; case 6: - _ScreenSongOptions.Selection.NumJokers = new[] {2, 2, 2, 2, 2, 2}; + _ScreenSongOptions.Selection.NumJokers = new int[] {2, 2, 2, 2, 2, 2}; break; default: - _ScreenSongOptions.Selection.NumJokers = new[] {5, 5}; + _ScreenSongOptions.Selection.NumJokers = new int[] {5, 5}; break; } } @@ -535,13 +535,13 @@ namespace VocaluxeLib.PartyModes.Challenge if (profiles == null) { - _ScreenSongOptions.Selection.TeamNames = new[] {"foo", "bar"}; + _ScreenSongOptions.Selection.TeamNames = new string[] {"foo", "bar"}; return; } if (GameData.NumPlayerAtOnce < 1 || GameData.ProfileIDs.Count < GameData.NumPlayerAtOnce || profiles.Length < GameData.NumPlayerAtOnce) { - _ScreenSongOptions.Selection.TeamNames = new[] {"foo", "bar"}; + _ScreenSongOptions.Selection.TeamNames = new string[] {"foo", "bar"}; return; } diff --git a/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj b/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj index 2472f2fa..61103a08 100644 --- a/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj +++ b/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj @@ -134,7 +134,8 @@ - xcopy $(ProjectDir)*.cs $(SolutionDir)Output\PartyModes\$(TargetName)\Code\ /EXCLUDE:$(ProjectDir)..\Excludes.txt /I /Y + cd $(SolutionDir)Partymodes\ +xcopy "$(ProjectDir)*.cs" "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\" /EXCLUDE:Excludes.txt /I /Y