mirror of
https://github.com/photonstorm/phaser
synced 2025-03-06 00:07:31 +00:00
Calling onLoad directly if device sound is locked since we are skipping actual loading
This commit is contained in:
parent
ae36cf5729
commit
e75731df87
1 changed files with 5 additions and 0 deletions
|
@ -97,6 +97,11 @@ var HTML5AudioFile = new Class({
|
|||
audio.load();
|
||||
}
|
||||
}
|
||||
|
||||
if (touchLocked)
|
||||
{
|
||||
this.onLoad();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue