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:
Boniatillo.com 2015-05-02 10:40:38 +02:00
parent 6a7006dec8
commit 9017081ef6

View file

@ -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":