Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 2 bytes modified
parent
99eb469bd0
commit
22ae950b70
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue