scratch
//index.html |
---|
@@ -165,7 +165,7 @@ |
]; |
// Play the sounds. |
if(sound && sound != 'off') { |
if(!sound || sound != 'off') { |
createjs.Sound.onLoadComplete = |
(event) => createjs.Sound.play(event.src); |
createjs.Sound.addEventListener("fileload", |
//index.html |
---|
@@ -165,7 +165,7 @@ |
]; |
// Play the sounds. |
if(sound && sound != 'off') { |
if(!sound || sound != 'off') { |
createjs.Sound.onLoadComplete = |
(event) => createjs.Sound.play(event.src); |
createjs.Sound.addEventListener("fileload", |