mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Merge pull request #1632 from mzgoddard/stop-other-sounds
Stop other sounds
This commit is contained in:
commit
5e5655c916
3 changed files with 53 additions and 7 deletions
|
@ -1074,9 +1074,6 @@ class RenderedTarget extends Target {
|
|||
*/
|
||||
onStopAll () {
|
||||
this.clearEffects();
|
||||
if (this.sprite.soundBank) {
|
||||
this.sprite.soundBank.stopAllSounds();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue