Skip to content

Commit 965fbc9

Browse files
committed
Typo fixes :)
1 parent 3c564a3 commit 965fbc9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/physics/p2/World.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ Phaser.Physics.P2 = function (game, config) {
3030
}
3131
else
3232
{
33-
if (!config.hasOwnProperty('gravity')
33+
if (!config.hasOwnProperty('gravity'))
3434
{
35-
config.gravity: [0, 0];
35+
config.gravity = [0, 0];
3636
}
3737

38-
if (!config.hasOwnProperty('broadphase')
38+
if (!config.hasOwnProperty('broadphase'))
3939
{
40-
config.broadphase: new p2.SAPBroadphase();
40+
config.broadphase = new p2.SAPBroadphase();
4141
}
4242
}
4343

0 commit comments

Comments
 (0)