Fixed SortStats bug resulting in extra blank users

This commit is contained in:
Josh Allen
2004-09-02 21:27:48 +00:00
parent 2c0f66c93b
commit a04da74fa1
+2 -2
View File
@@ -268,8 +268,8 @@ int StepManiaLanServer::SortStats(LanPlayer *playersPtr[]) {
for (int x = 0; x < NUMBERCLIENTS; x++)
if (Client[x].Used == true)
if (Client[x].IsPlaying(0))
for (int y = 0; y < 2; y++)
for (int y = 0; y < 2; y++)
if (Client[x].IsPlaying(y))
playersPtr[counter++] = &Client[x].Player[y];