Merge pull request #653 from bmceldowney/dev

Removing tilemap layer retrieval for object layers in convertCollisionObjects()
This commit is contained in:
Richard Davey 2014-03-26 15:48:42 +00:00
commit 2092a7e360

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++)