Skip to content

Commit

Permalink
Removed unused function from Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ekelokorpi committed Apr 11, 2020
1 parent 4c05324 commit 833b8e9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/engine/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ game.createClass('Debug', {
if (game.device.cocoonCanvasPlus) return;

game.Container.inject({
_renderCachedSprite: function(context) {
this.super(context);
game.debug._draws++;
},

_renderCanvas: function(context) {
if (game.scene && game.scene.stage === this) return;
if (game.Debug.showBounds) game.debug._drawBounds(this);
Expand Down

0 comments on commit 833b8e9

Please sign in to comment.