mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Setting unlocked property to true when audio tags are ready
This commit is contained in:
parent
5f035c80e2
commit
fb52e3d490
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ var HTML5AudioSoundManager = new Class({
|
|||
var lastTag = allTags[allTags.length - 1];
|
||||
lastTag.oncanplaythrough = function () {
|
||||
lastTag.oncanplaythrough = null;
|
||||
_this.touchUnlocked = true;
|
||||
_this.unlocked = true;
|
||||
};
|
||||
allTags.forEach(function (tag) {
|
||||
tag.load();
|
||||
|
|
Loading…
Reference in a new issue