mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 11:57:19 +00:00
Added Game.debug reset method for when the debug manager is disabled (thanks @DanielSitarz #1407)
This commit is contained in:
parent
1227232fd6
commit
3371f9ff1e
2 changed files with 2 additions and 1 deletions
|
@ -84,6 +84,7 @@ Version 2.2.1 - "Danabar" - in dev
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
* Fixed TweenManager.isTweening() and .removeFrom() (thanks @jotson #1408)
|
* Fixed TweenManager.isTweening() and .removeFrom() (thanks @jotson #1408)
|
||||||
|
* Added Game.debug reset method for when the debug manager is disabled (thanks @DanielSitarz #1407)
|
||||||
|
|
||||||
For details about changes made in previous versions of Phaser see the full Change Log at https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md
|
For details about changes made in previous versions of Phaser see the full Change Log at https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md
|
||||||
|
|
||||||
|
|
|
@ -537,7 +537,7 @@ Phaser.Game.prototype = {
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.debug = { preUpdate: function () {}, update: function () {} };
|
this.debug = { preUpdate: function () {}, update: function () {}, reset: function () {} };
|
||||||
}
|
}
|
||||||
|
|
||||||
this.showDebugHeader();
|
this.showDebugHeader();
|
||||||
|
|
Loading…
Add table
Reference in a new issue