diff --git a/.gitignore b/.gitignore index e4196b50..c4f14df7 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,7 @@ tx.exe *.userprefs *.user *.VC.opendb -*:VC.db +*.VC.db /*.vsp /*.ctl /Output/Config.xml @@ -67,3 +67,5 @@ tx.exe /packages /Output/x64 /Output/x86 +/PitchTracker/bin +/PitchTracker/obj diff --git a/PartyModes/PartyModeChallengeRounds/CChallengeRounds.cs b/PartyModes/PartyModeChallengeRounds/CChallengeRounds.cs index 3710a3b9..2c29e2f6 100644 --- a/PartyModes/PartyModeChallengeRounds/CChallengeRounds.cs +++ b/PartyModes/PartyModeChallengeRounds/CChallengeRounds.cs @@ -149,8 +149,7 @@ namespace VocaluxeLib.PartyModes.ChallengeRounds if (lastRounds.ContainsKey(key)) { - - lastRounds.TryGetValue(key, out lastRound); + lastRound = lastRounds[key]; int first = lastRound.First(); lastRound.RemoveAt(0); diff --git a/PartyModes/PartyModeChallengeRounds/PartyModeChallengeRounds.csproj b/PartyModes/PartyModeChallengeRounds/PartyModeChallengeRounds.csproj index 32dca0fd..b004b391 100644 --- a/PartyModes/PartyModeChallengeRounds/PartyModeChallengeRounds.csproj +++ b/PartyModes/PartyModeChallengeRounds/PartyModeChallengeRounds.csproj @@ -57,9 +57,14 @@ - if exist "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" rd "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" /S /Q + if exist "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" rd "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" /S /Q cd $(SolutionDir)Partymodes\ xcopy "$(ProjectDir)*.cs" "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\" /EXCLUDE:Excludes.txt /I /Y + rm -rf "$(SolutionDir)Output\PartyModes\$(TargetName)\Code" +mkdir -p "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\" +cp -R $(ProjectDir)*.cs "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\" +rm -f "$(SolutionDir)Output\PartyModes\$(TargetName)\Code\GlobalSuppressions.cs" +