From a790c72867de2c75b79d5e6011fe7d097862f5eb Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Fri, 5 Jun 2015 15:50:00 +0200 Subject: [PATCH] Display the red coin counter at the right moment in the tutorial --- js/prototype/TutorialSteps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/prototype/TutorialSteps.js b/js/prototype/TutorialSteps.js index 673041f..d567e94 100644 --- a/js/prototype/TutorialSteps.js +++ b/js/prototype/TutorialSteps.js @@ -106,6 +106,7 @@ TutorialSteps.prototype.nextStep = function() { this.camera.allowed.keyboardRotate = true; this.coins.push(new Coin(0.4911245636058468,1.225621525492101,-5.11526684540265, callback)); this.coins[this.coins.length-1].addToScene(this.scene); + document.getElementById('container').appendChild(Coin.domElement); break; case 4: this.coins.push(new Coin(1.4074130964382279,0.6458319586843252,-6.75244526999632, callback));