mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 00:53:42 +00:00
removing erroneous tilemap layer retrieval for object layers in convertCollisionObjects()
This commit is contained in:
parent
953ae83350
commit
2cd538e498
1 changed files with 0 additions and 2 deletions
|
@ -1396,8 +1396,6 @@ Phaser.Physics.P2.prototype = {
|
||||||
|
|
||||||
if (typeof addToWorld === 'undefined') { addToWorld = true; }
|
if (typeof addToWorld === 'undefined') { addToWorld = true; }
|
||||||
|
|
||||||
layer = map.getLayer(layer);
|
|
||||||
|
|
||||||
var output = [];
|
var output = [];
|
||||||
|
|
||||||
for (var i = 0, len = map.collision[layer].length; i < len; i++)
|
for (var i = 0, len = map.collision[layer].length; i < len; i++)
|
||||||
|
|
Loading…
Reference in a new issue