Skip to content

Commit 92dae19

Browse files
committed
Merge pull request phaserjs#2204 from tfelix/master
Asset packs are now correctly spliced between waiting files.
2 parents 4fb5df2 + 734eba7 commit 92dae19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/loader/Loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ Phaser.Loader.prototype = {
657657

658658
if (!file || (!file.loaded && !file.loading && file.type !== 'packfile'))
659659
{
660-
this._fileList.splice(i, 1, pack);
660+
this._fileList.splice(i, 0, pack);
661661
this._totalPackCount++;
662662
break;
663663
}

0 commit comments

Comments
 (0)