Remove call to loadSounds from rendered-target initDrawable

This commit is contained in:
Eric Rosenbaum 2017-03-22 16:00:50 -04:00
parent c8b4871b19
commit 2303a1abc5

View file

@ -75,9 +75,6 @@ RenderedTarget.prototype.initDrawable = function () {
*/
this.audioPlayer = null;
if (this.runtime && this.runtime.audioEngine) {
if (this.isOriginal) {
this.runtime.audioEngine.loadSounds(this.sprite.sounds);
}
this.audioPlayer = this.runtime.audioEngine.createPlayer();
}
};