mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 01:38:23 +00:00
Fix to #1776: load audiosprite from assetpack
The loader process the asset pack but use the method "audio" instead of "audiosprite". The fix is to call "audiosprite" with the right arguments.
This commit is contained in:
parent
6a7006dec8
commit
9017081ef6
1 changed files with 1 additions and 1 deletions
|
@ -1776,7 +1776,7 @@ Phaser.Loader.prototype = {
|
|||
break;
|
||||
|
||||
case "audiosprite":
|
||||
this.audio(file.key, file.urls, file.jsonURL);
|
||||
this.audiosprite(file.key, file.urls, file.jsonURL, file.jsonData, file.autoDecode);
|
||||
break;
|
||||
|
||||
case "tilemap":
|
||||
|
|
Loading…
Reference in a new issue