Comment for no-op above concurrency limit

This commit is contained in:
Eric Rosenbaum committed 2017-11-20 13:44:44 -05:00
1 parent c3a72560f9
commit 1e00a0c252
1 file changed
+1
+1
View File
@@ -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;
}