mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Merge pull request #653 from bmceldowney/dev
Removing tilemap layer retrieval for object layers in convertCollisionObjects()
This commit is contained in:
commit
2092a7e360
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