From 14701fdef73ea9f2d0a444212c546bae4f6459a4 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Mon, 31 Aug 2015 10:03:21 +0200 Subject: [PATCH] Last corrections in tutorial --- js/l3d/apps/prototype/tutorial/TutorialSteps.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/l3d/apps/prototype/tutorial/TutorialSteps.js b/js/l3d/apps/prototype/tutorial/TutorialSteps.js index 123a690..f3e1ccf 100644 --- a/js/l3d/apps/prototype/tutorial/TutorialSteps.js +++ b/js/l3d/apps/prototype/tutorial/TutorialSteps.js @@ -185,7 +185,7 @@ TutorialSteps.prototype.nextStep = function() { break; case 11: Coin.max = 5; - Coin.update(); + Coin.set(); this.addCoin(new Coin(2.7378029903574026,2.953347730618792,-11.550836282321221, callback)); this.camera.move({ position: new THREE.Vector3(-0.3528994281499122,-0.026355227893303856,-0.2766844454377826), @@ -221,9 +221,9 @@ TutorialSteps.prototype.nextStep = function() { for (var i = 2; i < cams.length; i++) { this.addRecommendation(cams[i]); } - Coin.total = 1; + Coin.total = 0; Coin.max = 8; - Coin.update(); + Coin.set(); var coins = L3D.generateCoins(L3D.createPeachCoins()); for (i = 0; i < coins.length; i++) { coins[i].rotating = true;