Skip to content

Commit 8f3f88c

Browse files
Checking for set audio property instead of isPlaying flag
1 parent 919665d commit 8f3f88c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var HTML5AudioSound = new Class({
139139
}
140140
var otherSounds_1 = [];
141141
this.manager.forEachActiveSound(function (sound) {
142-
if (sound.key === this.key && sound.isPlaying) {
142+
if (sound.key === this.key && sound.audio) {
143143
otherSounds_1.push(sound);
144144
}
145145
}, this);

0 commit comments

Comments
 (0)