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) {
|
||||
|
||||
if (!enemy.isKanister) {
|
||||
this.meshes[enemy.meshType].map(
|
||||
function(object) {
|
||||
if (object.mesh === enemy.mesh) {
|
||||
object.inUse = false;
|
||||
object.mesh.visible = false;
|
||||
object.mesh.updateInstance('visibile');
|
||||
object.mesh.updateInstance('visible');
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
}
|
||||
/**
|
||||
* We only remove the things we cloned
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue