From 96677c8635a4d56cc94868d22ce055d9b2b9e0cd Mon Sep 17 00:00:00 2001 From: Clement Gournay Date: Sat, 18 Jul 2015 12:03:20 +0900 Subject: [PATCH] Sound gestion improved --- src/js/songselect.js | 2 +- src/js/titlescreen.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/songselect.js b/src/js/songselect.js index e52b772..c90c7af 100644 --- a/src/js/songselect.js +++ b/src/js/songselect.js @@ -38,7 +38,7 @@ function SongSelect(){ }); $(".song:not(.opened)").click(function(){ - //assets.sounds["ka"][0].play(); + assets.sounds["ka"].play(); $(".difficulty").hide(); $(".opened").removeClass("opened", 300); $(this).addClass("opened", 300, "linear", function(){ diff --git a/src/js/titlescreen.js b/src/js/titlescreen.js index 2da5611..606fe73 100644 --- a/src/js/titlescreen.js +++ b/src/js/titlescreen.js @@ -35,7 +35,7 @@ function Titlescreen(){ } this.goNext = function(){ - //assets.sounds["don"][0].play(); + assets.sounds["don"].play(); new SongSelect(); }