mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Merge pull request #954 from Phaiax/issue953-bodydebug
inverting debug getter result
This commit is contained in:
commit
1a0ebe6d26
1 changed files with 3 additions and 3 deletions
|
@ -1725,7 +1725,7 @@ Object.defineProperty(Phaser.Physics.P2.Body.prototype, "debug", {
|
||||||
|
|
||||||
get: function () {
|
get: function () {
|
||||||
|
|
||||||
return (!this.debugBody);
|
return (this.debugBody !== null);
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue