aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UParty.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-20 14:05:25 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-20 14:05:25 +0000
commit178c194e25896b80783d589b9912c926c07e3118 (patch)
treef4288d986e349066d66f8836577a68f5e77570eb /Game/Code/Classes/UParty.pas
parent07e2b61e6b2f2e1fd57456c90a776398abe3604f (diff)
downloadusdx-178c194e25896b80783d589b9912c926c07e3118.tar.gz
usdx-178c194e25896b80783d589b9912c926c07e3118.tar.xz
usdx-178c194e25896b80783d589b9912c926c07e3118.zip
never singing a song two times in the same party session; counter reset if there are too few songs
the medley-songs have their own counter git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2113 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UParty.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/Game/Code/Classes/UParty.pas b/Game/Code/Classes/UParty.pas
index b57106a5..a843c393 100644
--- a/Game/Code/Classes/UParty.pas
+++ b/Game/Code/Classes/UParty.pas
@@ -167,6 +167,10 @@ begin
Teams.Teaminfo[I].Joker := Round(NumRounds*0.7)+NumMedleys;
Teams.Teaminfo[I].Score := 0;
end;
+
+ //Reset Played-array
+ SetLength(ScreenSong.MedleyPlayed, 0);
+ SetLength(ScreenSong.PartyPlayed, 0);
end;
//----------