Merge pull request #1632 from mzgoddard/stop-other-sounds

Stop other sounds
This commit is contained in:
Michael "Z" Goddard 2018-10-23 15:11:08 -04:00 committed by GitHub
commit 5e5655c916
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 7 deletions

View file

@ -1074,9 +1074,6 @@ class RenderedTarget extends Target {
*/
onStopAll () {
this.clearEffects();
if (this.sprite.soundBank) {
this.sprite.soundBank.stopAllSounds();
}
}
/**