Merge pull request #2204 from tfelix/master

Asset packs are now correctly spliced between waiting files.
This commit is contained in:
Richard Davey 2016-02-02 16:58:33 +02:00
commit 92dae1951b

View file

@ -657,7 +657,7 @@ Phaser.Loader.prototype = {
if (!file || (!file.loaded && !file.loading && file.type !== 'packfile'))
{
this._fileList.splice(i, 1, pack);
this._fileList.splice(i, 0, pack);
this._totalPackCount++;
break;
}