Skip to content

Commit b61a4de

Browse files
Passing sound manager locked property value instead of touchLocked to HTML5AudioFile constructor
1 parent 6be1406 commit b61a4de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/loader/filetypes/AudioFile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ AudioFile.create = function (loader, key, urls, config, xhrSettings)
8383
return new AudioFile(key, url, loader.path, xhrSettings, game.sound.context);
8484
}
8585

86-
return new HTML5AudioFile(key, url, loader.path, config, game.sound.touchLocked);
86+
return new HTML5AudioFile(key, url, loader.path, config, game.sound.locked);
8787
};
8888

8989
// this.load.audio('sound', 'assets/audio/booom.ogg', config, xhrSettings);

0 commit comments

Comments
 (0)