Comment for no-op above concurrency limit
This commit is contained in:
1 parent
c3a72560f9
commit
1e00a0c252
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user