We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c564a3 commit 965fbc9Copy full SHA for 965fbc9
1 file changed
src/physics/p2/World.js
@@ -30,14 +30,14 @@ Phaser.Physics.P2 = function (game, config) {
30
}
31
else
32
{
33
- if (!config.hasOwnProperty('gravity')
+ if (!config.hasOwnProperty('gravity'))
34
35
- config.gravity: [0, 0];
+ config.gravity = [0, 0];
36
37
38
- if (!config.hasOwnProperty('broadphase')
+ if (!config.hasOwnProperty('broadphase'))
39
40
- config.broadphase: new p2.SAPBroadphase();
+ config.broadphase = new p2.SAPBroadphase();
41
42
43
0 commit comments