mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Using tag data for checking if the sound is locked instead of global flag
This commit is contained in:
parent
e86e09a6b3
commit
44a377f83c
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ var HTML5AudioSoundManager = new Class({
|
|||
*/
|
||||
isLocked: function (sound, prop, value)
|
||||
{
|
||||
if (this.locked)
|
||||
if (sound.tags[0].dataset.locked === 'true')
|
||||
{
|
||||
this.lockedActionsQueue.push({
|
||||
sound: sound,
|
||||
|
|
Loading…
Reference in a new issue