mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +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
|
||||
|
||||
* 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
|
||||
|
||||
|
|
|
@ -537,7 +537,7 @@ Phaser.Game.prototype = {
|
|||
}
|
||||
else
|
||||
{
|
||||
this.debug = { preUpdate: function () {}, update: function () {} };
|
||||
this.debug = { preUpdate: function () {}, update: function () {}, reset: function () {} };
|
||||
}
|
||||
|
||||
this.showDebugHeader();
|
||||
|
|
Loading…
Reference in a new issue