From 078a30f8a1da33730be17b8951b9c745ac235a17 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 25 Nov 2017 16:13:35 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (6rskhzgjog.js) 0 bytes modified --- 6rskhzgjog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/6rskhzgjog.js b/6rskhzgjog.js index d0a7884..254c6b0 100644 --- a/6rskhzgjog.js +++ b/6rskhzgjog.js @@ -438,14 +438,14 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { this.drawScore = function(enemy) { - this.scoreMesh.instance.quaternion.copy(this.camera.instance.quaternion); - this.scoreMesh.materials[0].opacity = 1.0; this.scoreMesh.materials[0].updateInstance('opacity'); this.scoreMesh.position = enemy.mesh.position.clone(); this.scoreMesh.updateInstance('position'); + this.scoreMesh.instance.quaternion.copy(this.camera.instance.quaternion); + var context = this.scoreCanvas.instance.getContext('2d'); context.textBaseline = "middle";