mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +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; }
|
||||
|
||||
layer = map.getLayer(layer);
|
||||
|
||||
var output = [];
|
||||
|
||||
for (var i = 0, len = map.collision[layer].length; i < len; i++)
|
||||
|
|
Loading…
Reference in a new issue