mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +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 () {
|
||||
|
||||
return (!this.debugBody);
|
||||
return (this.debugBody !== null);
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue