File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments