Skip to content

Commit d6bb27f

Browse files
committed
Disabled the Debug class.
1 parent 72ee3c7 commit d6bb27f

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

src/core/Game.js

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,6 @@ Phaser.Game.prototype = {
608608

609609
this.isBooted = true;
610610

611-
// PIXI.game = this;
612-
613611
this.math = Phaser.Math;
614612

615613
this.scale = new Phaser.ScaleManager(this, this._width, this._height);
@@ -645,15 +643,15 @@ Phaser.Game.prototype = {
645643
this.sound.boot();
646644
this.state.boot();
647645

648-
if (this.config['enableDebug'])
649-
{
650-
this.debug = new Phaser.Utils.Debug(this);
651-
this.debug.boot();
652-
}
653-
else
654-
{
646+
// if (this.config['enableDebug'])
647+
// {
648+
// this.debug = new Phaser.Utils.Debug(this);
649+
// this.debug.boot();
650+
// }
651+
// else
652+
// {
655653
this.debug = { preUpdate: function () {}, update: function () {}, reset: function () {} };
656-
}
654+
// }
657655

658656
this.showDebugHeader();
659657

0 commit comments

Comments
 (0)