mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 17:58:23 +00:00
assign array by index for skipped chunks
loading breaks for layers that skip chunks with no data
This commit is contained in:
parent
320aedcaba
commit
46009935b4
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ var ParseTileLayers = function (json, insertNull)
|
|||
|
||||
for (var c = 0; c < curl.height; c++)
|
||||
{
|
||||
output.push([ null ]);
|
||||
output[c] = [ null ];
|
||||
|
||||
for (var j = 0; j < curl.width; j++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue