diff --git a/index.html b/index.html index edac24d..fbf2f3a 100644 --- a/index.html +++ b/index.html @@ -43,7 +43,7 @@ - Play now for free on The Virtual Reality Browser + Play now for free on The Browser for the the VR Internet diff --git a/src/state/index.js b/src/state/index.js index 982b696..47d5615 100644 --- a/src/state/index.js +++ b/src/state/index.js @@ -291,6 +291,7 @@ AFRAME.registerState({ state.leaderboardNames += `${score.username} (${score.accuracy || 0}%)\n`; state.leaderboardScores += `${score.score}\n`; } + state.leaderboardLoading = false; }, leaderboardqualify: state => { @@ -340,6 +341,7 @@ AFRAME.registerState({ state.isSearching = false; clearLeaderboard(state); + state.leaderboardLoading = true; }, menuchallengeunselect: state => { @@ -349,8 +351,10 @@ AFRAME.registerState({ menudifficultyselect: (state, difficulty) => { state.menuSelectedChallenge.difficulty = difficulty; - clearLeaderboard(state); updateMenuSongInfo(state, state.menuSelectedChallenge); + + clearLeaderboard(state); + state.leaderboardLoading = true; }, minehit: state => { diff --git a/src/templates/leaderboard.html b/src/templates/leaderboard.html index eb2edda..1e8eefb 100644 --- a/src/templates/leaderboard.html +++ b/src/templates/leaderboard.html @@ -47,7 +47,7 @@