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;