Skip to content

Commit 4925080

Browse files
committed
Merge pull request phaserjs#2381 from englercj/dev
Fix typo in componentToHex
2 parents 3446733 + a510761 commit 4925080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/p2/BodyDebug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, {
458458
var hex;
459459
hex = c.toString(16);
460460

461-
if (hex.len === 2)
461+
if (hex.length === 2)
462462
{
463463
return hex;
464464
}

0 commit comments

Comments
 (0)