Fix wrong variables.

This commit is contained in:
Florian Kuepper committed 2012-12-15 20:04:58 +01:00
1 parent 0e33a7c6bc
commit 6e24307844
1 file changed
+9 -9
+9 -9
View File
@@ -153,17 +153,17 @@ namespace Vocaluxe.Screens
Texts[htTexts(TextTargetAudience)].PartyModeID = _PartyModeInfos[index].PartyModeID; Texts[htTexts(TextTargetAudience)].PartyModeID = _PartyModeInfos[index].PartyModeID;
Texts[htTexts(TextTargetAudience)].Text = _PartyModeInfos[index].Description; Texts[htTexts(TextTargetAudience)].Text = _PartyModeInfos[index].Description;
//NumTeams //NumTeams
if (_PartyModeInfos[index].MaxNumTeams == 0) if (_PartyModeInfos[index].MaxTeams == 0)
Texts[htTexts(TextNumTeams)].Text = "TR_SCREENPARTY_NOTEAMS"; Texts[htTexts(TextNumTeams)].Text = "TR_SCREENPARTY_NOTEAMS";
else if (_PartyModeInfos[index].MaxNumTeams == _PartyModeInfos[index].MinNumTeams) else if (_PartyModeInfos[index].MaxTeams == _PartyModeInfos[index].MinTeams)
Texts[htTexts(TextNumTeams)].Text = _PartyModeInfos[index].MaxNumTeams.ToString(); Texts[htTexts(TextNumTeams)].Text = _PartyModeInfos[index].MaxTeams.ToString();
else if (_PartyModeInfos[index].MaxNumTeams > _PartyModeInfos[index].MinNumTeams) else if (_PartyModeInfos[index].MaxTeams > _PartyModeInfos[index].MinTeams)
Texts[htTexts(TextNumTeams)].Text = _PartyModeInfos[index].MinNumTeams + " - " + _PartyModeInfos[index].MaxNumTeams; Texts[htTexts(TextNumTeams)].Text = _PartyModeInfos[index].MinTeams + " - " + _PartyModeInfos[index].MaxTeams;
//NumPlayers //NumPlayers
if (_PartyModeInfos[index].MaxNumPlayers == _PartyModeInfos[index].MinNumPlayers) if (_PartyModeInfos[index].MaxPlayers == _PartyModeInfos[index].MinPlayers)
Texts[htTexts(TextNumPlayers)].Text = _PartyModeInfos[index].MaxNumTeams.ToString(); Texts[htTexts(TextNumPlayers)].Text = _PartyModeInfos[index].MaxTeams.ToString();
else if (_PartyModeInfos[index].MaxNumPlayers > _PartyModeInfos[index].MinNumPlayers) else if (_PartyModeInfos[index].MaxPlayers > _PartyModeInfos[index].MinPlayers)
Texts[htTexts(TextNumPlayers)].Text = _PartyModeInfos[index].MinNumPlayers + " - " + _PartyModeInfos[index].MaxNumPlayers; Texts[htTexts(TextNumPlayers)].Text = _PartyModeInfos[index].MinPlayers + " - " + _PartyModeInfos[index].MaxPlayers;
//Author //Author
Texts[htTexts(TextAuthor)].Text = _PartyModeInfos[index].Author; Texts[htTexts(TextAuthor)].Text = _PartyModeInfos[index].Author;
Texts[htTexts(TextAuthor)].PartyModeID = _PartyModeInfos[index].PartyModeID; Texts[htTexts(TextAuthor)].PartyModeID = _PartyModeInfos[index].PartyModeID;