Swapped argument name

This commit is contained in:
Richard Davey 2017-12-12 17:02:53 +00:00
parent cb9506c00b
commit 8d6a868d84

View file

@ -1,6 +1,6 @@
var Friction = {
setFriction: function (value, air, _static)
setFriction: function (value, air, fstatic)
{
this.body.friction = value;
@ -9,9 +9,9 @@ var Friction = {
this.body.frictionAir = air;
}
if (_static !== undefined)
if (fstatic !== undefined)
{
this.body.frictionStatic = _static;
this.body.frictionStatic = fstatic;
}
return this;