We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba05238 commit 35a9bdcCopy full SHA for 35a9bdc
1 file changed
src/loader/Loader.js
@@ -582,6 +582,7 @@ Phaser.Loader.prototype = {
582
for (var i = 0; i < this._fileList.length + 1; i++)
583
{
584
var file = this._fileList[i];
585
+
586
if (!file || (!file.loaded && !file.loading && file.type !== 'packfile'))
587
588
this._fileList.splice(i, 1, pack);
@@ -1973,7 +1974,7 @@ Phaser.Loader.prototype = {
1973
1974
break;
1975
1976
case 'physics':
- var data = JSON.parse(this.responseText);
1977
+ var data = JSON.parse(xhr.responseText);
1978
this.game.cache.addPhysicsData(file.key, file.url, data, file.format);
1979
1980
0 commit comments