Skip to content

Commit

Permalink
Updated debug version output
Browse files Browse the repository at this point in the history
  • Loading branch information
Eemeli Kelokorpi committed Jul 18, 2014
1 parent ba6fc08 commit 3f79b7c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/engine/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
game.module(
'engine.debug'
)
.require(
'engine.pixi'
)
.body(function() {
'use strict';

Expand Down Expand Up @@ -247,6 +250,9 @@ game.Debug.position = {
y: 10
};

if (game.Debug.enabled) console.log('Panda.js ' + game.version);
if (game.Debug.enabled) {
console.log('Panda.js ' + game.version);
console.log('Pixi.js ' + game.PIXI.VERSION.replace('v', ''));
}

});

0 comments on commit 3f79b7c

Please sign in to comment.