Merge pull request #954 from Phaiax/issue953-bodydebug

inverting debug getter result
This commit is contained in:
Richard Davey 2014-07-01 15:35:35 +01:00
commit 1a0ebe6d26

View file

@ -1725,7 +1725,7 @@ Object.defineProperty(Phaser.Physics.P2.Body.prototype, "debug", {
get: function () {
return (!this.debugBody);
return (this.debugBody !== null);
},