remove redundant high score title on leaderboard

This commit is contained in:
Kevin Ngo
2018-12-10 05:51:33 -08:00
parent 1ac6b28543
commit 4bc3b884ce
2 changed files with 2 additions and 15 deletions

View File

@@ -129,16 +129,3 @@ AFRAME.registerComponent('leaderboard', {
}
}
});
AFRAME.registerComponent('leaderboard-title', {
schema: {
leaderboardQualified: {default: false}
},
update: function () {
const value = this.data.leaderboardQualified
? 'NEW HIGH SCORE!'
: 'LEADERBOARD';
this.el.setAttribute('text', 'value', value);
}
});