Update: CC - Before Render - Moorcow (zo950m57cc.js) 36 bytes modified
parent
272b62db4e
commit
5b84693ba7
|
@ -582,16 +582,17 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
|
|
||||||
this.kill = function(enemy) {
|
this.kill = function(enemy) {
|
||||||
|
|
||||||
this.meshes[enemy.meshType].map(
|
if (!enemy.isKanister) {
|
||||||
function(object) {
|
this.meshes[enemy.meshType].map(
|
||||||
if (object.mesh === enemy.mesh) {
|
function(object) {
|
||||||
object.inUse = false;
|
if (object.mesh === enemy.mesh) {
|
||||||
object.mesh.visible = false;
|
object.inUse = false;
|
||||||
object.mesh.updateInstance('visibile');
|
object.mesh.visible = false;
|
||||||
|
object.mesh.updateInstance('visible');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
)
|
||||||
)
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We only remove the things we cloned
|
* We only remove the things we cloned
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue