Changed players->Profile handling (no redundant entries)
This commit is contained in:
1 parent
dfc705aea4
commit
bdca0554e4
18 files changed
+232
-323
No files matched your search
@@ -34,8 +34,6 @@ namespace VocaluxeLib.Menu
|
||||
for (int player = 0; player < players.Length; player++)
|
||||
{
|
||||
_Rounds[round, player].ProfileID = players[player].ProfileID;
|
||||
_Rounds[round, player].Name = players[player].Name;
|
||||
_Rounds[round, player].Difficulty = players[player].Difficulty;
|
||||
_Rounds[round, player].Points = 0f;
|
||||
_Rounds[round, player].PointsGoldenNotes = 0f;
|
||||
_Rounds[round, player].PointsLineBonus = 0f;
|
||||
@@ -86,13 +84,11 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
for (int p = 0; p < player.Length; p++)
|
||||
{
|
||||
player[p].Name = _Rounds[round, p].Name;
|
||||
player[p].Points = _Rounds[round, p].Points;
|
||||
player[p].PointsGoldenNotes = _Rounds[round, p].PointsGoldenNotes;
|
||||
player[p].PointsLineBonus = _Rounds[round, p].PointsLineBonus;
|
||||
player[p].SongID = _Rounds[round, p].SongID;
|
||||
player[p].LineNr = _Rounds[round, p].LineNr;
|
||||
player[p].Difficulty = _Rounds[round, p].Difficulty;
|
||||
player[p].Medley = _Rounds[round, p].Medley;
|
||||
player[p].Duet = _Rounds[round, p].Duet;
|
||||
player[p].ShortSong = _Rounds[round, p].ShortSong;
|
||||
|
||||
Reference in new issue
Block a user