leaderboard fixes:
leaderboard reveal only after text counter done fix leaderboard clearing exiting song no flash leaderboard between menu select songs hide leaderboard in genre
This commit is contained in:
@@ -55,11 +55,12 @@ AFRAME.registerComponent('leaderboard', {
|
||||
this.checkLeaderboardQualify();
|
||||
}
|
||||
|
||||
if (oldData.menuSelectedChallengeId !== this.data.menuSelectedChallengeId) {
|
||||
if (this.data.menuSelectedChallengeId &&
|
||||
oldData.menuSelectedChallengeId !== this.data.menuSelectedChallengeId) {
|
||||
this.fetchScores(this.data.menuSelectedChallengeId);
|
||||
}
|
||||
|
||||
if (oldData.challengeId !== this.data.challengeId) {
|
||||
if (this.data.challengeId && oldData.challengeId !== this.data.challengeId) {
|
||||
this.fetchScores(this.data.challengeId);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user