diff --git a/src/sprites/rendered-target.js b/src/sprites/rendered-target.js index 93e7d8c7f..eb996786b 100644 --- a/src/sprites/rendered-target.js +++ b/src/sprites/rendered-target.js @@ -1044,7 +1044,7 @@ class RenderedTarget extends Target { onStopAll () { this.clearEffects(); if (this.sprite.soundBank) { - this.sprite.soundBank.stopAllSounds(this); + this.sprite.soundBank.stopAllSounds(); } } @@ -1130,9 +1130,6 @@ class RenderedTarget extends Target { dispose () { this.runtime.changeCloneCounter(-1); this.runtime.stopForTarget(this); - if (this.sprite.soundBank) { - this.sprite.soundBank.stopAllSounds(this); - } this.sprite.removeClone(this); if (this.renderer && this.drawableID !== null) { this.renderer.destroyDrawable(this.drawableID, this.isStage ?