diff --git a/a2ow5l92js.js b/a2ow5l92js.js index 0ec5d0f..1e3014f 100644 --- a/a2ow5l92js.js +++ b/a2ow5l92js.js @@ -487,6 +487,8 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { this.score += enemy.score; + this.drawScore(enemy); + console.log('score : ' + this.score); GameLib.Event.Emit( @@ -708,9 +710,7 @@ this.scene.meshes.map( ); if (this.mouseIsDown) -{ - this.drawScore(); - +{ this.kanisterTime += data.delta; this.renderer.clearColor.r += 0.01;