Fixed winner-string in challenge-modes.
This commit is contained in:
1 parent
b015f2c313
commit
1299e6effd
2 files changed
+6
-2
No files matched your search
@@ -644,11 +644,13 @@ namespace Vocaluxe.PartyModes
|
|||||||
SProfile[] profiles = _Base.Profiles.GetProfiles();
|
SProfile[] profiles = _Base.Profiles.GetProfiles();
|
||||||
|
|
||||||
for (int i = 0; i < GameState.ResultTable.Count; i++)
|
for (int i = 0; i < GameState.ResultTable.Count; i++)
|
||||||
|
{
|
||||||
|
if (GameState.ResultTable[i].Position == 1)
|
||||||
{
|
{
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
s += ", ";
|
s += ", ";
|
||||||
if (GameState.ResultTable[i].Position == 1)
|
|
||||||
s += profiles[GameState.ResultTable[i].PlayerID].PlayerName;
|
s += profiles[GameState.ResultTable[i].PlayerID].PlayerName;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -644,11 +644,13 @@ namespace Vocaluxe.PartyModes
|
|||||||
SProfile[] profiles = _Base.Profiles.GetProfiles();
|
SProfile[] profiles = _Base.Profiles.GetProfiles();
|
||||||
|
|
||||||
for (int i = 0; i < GameState.ResultTable.Count; i++)
|
for (int i = 0; i < GameState.ResultTable.Count; i++)
|
||||||
|
{
|
||||||
|
if (GameState.ResultTable[i].Position == 1)
|
||||||
{
|
{
|
||||||
if (i > 0)
|
if (i > 0)
|
||||||
s += ", ";
|
s += ", ";
|
||||||
if (GameState.ResultTable[i].Position == 1)
|
|
||||||
s += profiles[GameState.ResultTable[i].PlayerID].PlayerName;
|
s += profiles[GameState.ResultTable[i].PlayerID].PlayerName;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user