Added score to rounds-table in challenge-main.
This commit is contained in:
1 parent
8ec952790f
commit
c9f326fcf4
1 file changed
+5
@@ -206,6 +206,7 @@ namespace Vocaluxe.PartyModes
|
|||||||
Updatetable();
|
Updatetable();
|
||||||
UpdateNextPlayerPositions();
|
UpdateNextPlayerPositions();
|
||||||
UpdateNextPlayerContents();
|
UpdateNextPlayerContents();
|
||||||
|
if(GameState.CurrentRoundNr == 1 || RoundsTable == null)
|
||||||
BuildRoundsTable();
|
BuildRoundsTable();
|
||||||
UpdateRoundsTable(RoundsTableOffset);
|
UpdateRoundsTable(RoundsTableOffset);
|
||||||
|
|
||||||
@@ -399,6 +400,10 @@ namespace Vocaluxe.PartyModes
|
|||||||
{
|
{
|
||||||
int pID = GameState.ProfileIDs[GameState.Combs[i + Offset].Player[p]];
|
int pID = GameState.ProfileIDs[GameState.Combs[i + Offset].Player[p]];
|
||||||
RoundsTable[i].TextPlayer[p].Text = profile[pID].PlayerName+"";
|
RoundsTable[i].TextPlayer[p].Text = profile[pID].PlayerName+"";
|
||||||
|
if ((GameState.CurrentRoundNr - 1) > i)
|
||||||
|
RoundsTable[i].TextScores[p].Text = GameState.Results[i + Offset, p].ToString();
|
||||||
|
else
|
||||||
|
RoundsTable[i].TextScores[p].Text = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user