From 014d97a3e0e87a881b8ea53f5f058218ac29962d Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 25 Nov 2017 15:51:45 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (a2ow5l92js.js) 16 bytes modified --- a2ow5l92js.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;