Skip to content

Commit b0ec0ed

Browse files
Calling sound's onFocus method instead of resume when sounds resume on game focus gain
1 parent ff885e2 commit b0ec0ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var HTML5AudioSoundManager = new Class({
8282
},
8383
onFocus: function () {
8484
this.onBlurPausedSounds.forEach(function (sound) {
85-
sound.resume();
85+
sound.onFocus();
8686
});
8787
this.onBlurPausedSounds.length = 0;
8888
},

0 commit comments

Comments
 (0)