From cc4755cf9d1cac928524ffd8672b4832dc91cceb Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 6 Oct 2015 12:17:59 +0200 Subject: [PATCH] Tutorial show coins --- js/l3d/apps/prototype/replay/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/l3d/apps/prototype/replay/main.js b/js/l3d/apps/prototype/replay/main.js index 9b0b349..47dad41 100644 --- a/js/l3d/apps/prototype/replay/main.js +++ b/js/l3d/apps/prototype/replay/main.js @@ -24,6 +24,9 @@ function main() { xhr.onreadystatechange = function() { if (xhr.readyState == 4 && xhr.status == 200) { + coins.forEach(function(elt) { + elt.mesh.visible = true; + }); init(JSON.parse(xhr.responseText)); onWindowResize(); setInterval(render, 20);