Skip to content

Commit

Permalink
Merge pull request #739 from OpherV/patch-1
Browse files Browse the repository at this point in the history
Fixed typo in world.setMaterial
  • Loading branch information
photonstorm committed Apr 19, 2014
2 parents 7da2817 + 22b6272 commit 92f1030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physics/p2/World.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ Phaser.Physics.P2.prototype = {

while (i--)
{
bodies.setMaterial(material);
bodies[i].setMaterial(material);
}

},
Expand Down

0 comments on commit 92f1030

Please sign in to comment.