Skip to content

Commit 734eba7

Browse files
author
tfelix
committed
Asset packs are now correctly spliced between waiting files.
1 parent c9c8533 commit 734eba7

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)