From 22ae950b70d3aec6653b241e096e01a4e4be2c57 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 2 Nov 2017 11:48:53 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 2 bytes modified --- dywmtohrda.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dywmtohrda.js b/dywmtohrda.js index b66bd62..dd0f2ed 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -13,7 +13,7 @@ if ( GameLib.Utils.UndefinedOrNull(this.camera) || GameLib.Utils.UndefinedOrNull(this.scene) || GameLib.Utils.UndefinedOrNull(this.sceneCrosshair) - // true + //|| true ) { /** @@ -40,7 +40,6 @@ if ( ); } - this.boxMaterial = GameLib.EntityManager.Instance.findComponentById('dsaua5t19a'); this.tree = GameLib.EntityManager.Instance.findComponentById('fcj62ukx5s'); @@ -65,9 +64,8 @@ if ( this.tree.updateInstance(); this.nextSpawnTime = this.getNextSpawnTime(); -} - - this.spawnEnemy = function() { + + this.spawnEnemy = function() { var enemyType = Math.floor((Math.random() * 5) + 1); @@ -127,6 +125,7 @@ if ( this.enemies.push(enemy); } +} this.totalTime += data.delta; this.spawnTime += data.delta;