mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
Remove call to loadSounds from rendered-target initDrawable
This commit is contained in:
parent
c8b4871b19
commit
2303a1abc5
1 changed files with 0 additions and 3 deletions
|
@ -75,9 +75,6 @@ RenderedTarget.prototype.initDrawable = function () {
|
||||||
*/
|
*/
|
||||||
this.audioPlayer = null;
|
this.audioPlayer = null;
|
||||||
if (this.runtime && this.runtime.audioEngine) {
|
if (this.runtime && this.runtime.audioEngine) {
|
||||||
if (this.isOriginal) {
|
|
||||||
this.runtime.audioEngine.loadSounds(this.sprite.sounds);
|
|
||||||
}
|
|
||||||
this.audioPlayer = this.runtime.audioEngine.createPlayer();
|
this.audioPlayer = this.runtime.audioEngine.createPlayer();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue