remove test values for UI
This commit is contained in:
parent
d0b114d82f
commit
2c55b82757
@ -759,11 +759,11 @@ Void SetML() {
|
||||
PlayerNameColor = <0.431,0.98,0.627>; // Green
|
||||
}
|
||||
|
||||
if (Index < 2 /* 8 */ || Index == 4 /* 10 */|| GUIPlayer == Null || (GUIPlayerPassed && PlayerUID != GUIPlayer.User.WebServicesUserId) || (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank <= 2 /* 8 */)) {
|
||||
if (Index < 8 || Index == 10 || GUIPlayer == Null || (GUIPlayerPassed && PlayerUID != GUIPlayer.User.WebServicesUserId) || (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank <= 8 )) {
|
||||
DevLog("[Update UI] Normal Entry");
|
||||
SetPlayerEntry(Index,Rank,User.Name,PlayerNameColor,Net_RoundPoints[PlayerUID],Points);
|
||||
Index = Index + 1;
|
||||
} else if (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank > 2 /* 8 */) {
|
||||
} else if (GUIPlayerPassed && PlayerUID == GUIPlayer.User.WebServicesUserId && Rank > 8 ) {
|
||||
DevLog("[Update UI] Last Entries");
|
||||
if (Rank == PlayersMatchPoints.count) {
|
||||
SetPlayerEntry(Index,Rank-2,PreviousPreviousUser.Name,<1.,1.,1.>,Net_RoundPoints[PreviousPreviousUser.WebServicesUserId],PlayersMatchPoints[PreviousPreviousUser.WebServicesUserId]);
|
||||
@ -778,7 +778,7 @@ Void SetML() {
|
||||
PreviousPreviousUser <=> PreviousUser;
|
||||
PreviousUser <=> User;
|
||||
}
|
||||
if (Index > 4) break; //10
|
||||
if (Index > 10) break;
|
||||
Rank = Rank + 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user