Merge pull request #739 from OpherV/patch-1

Fixed typo in world.setMaterial
This commit is contained in:
Richard Davey 2014-04-20 00:57:13 +01:00
commit 92f1030363

View file

@ -989,7 +989,7 @@ Phaser.Physics.P2.prototype = {
while (i--)
{
bodies.setMaterial(material);
bodies[i].setMaterial(material);
}
},