removing erroneous tilemap layer retrieval for object layers in convertCollisionObjects()

This commit is contained in:
Ben McEldowney 2014-03-26 07:48:47 -07:00
parent 953ae83350
commit 2cd538e498

View file

@ -1396,8 +1396,6 @@ Phaser.Physics.P2.prototype = {
if (typeof addToWorld === 'undefined') { addToWorld = true; }
layer = map.getLayer(layer);
var output = [];
for (var i = 0, len = map.collision[layer].length; i < len; i++)