mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Comment for no-op above concurrency limit
This commit is contained in:
parent
c3a72560f9
commit
1e00a0c252
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ class Scratch3MusicBlocks {
|
|||
*/
|
||||
_playDrumNum (util, drumNum) {
|
||||
if (util.target.audioPlayer === null) return;
|
||||
// If we're playing too many sounds, do not play the drum sound.
|
||||
if (this._drumConcurrencyCounter > Scratch3MusicBlocks.CONCURRENCY_LIMIT) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue