diff --git a/zo950m57cc.js b/zo950m57cc.js index edb6abe..e603db3 100644 --- a/zo950m57cc.js +++ b/zo950m57cc.js @@ -582,16 +582,17 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { this.kill = function(enemy) { - this.meshes[enemy.meshType].map( - function(object) { - if (object.mesh === enemy.mesh) { - object.inUse = false; - object.mesh.visible = false; - object.mesh.updateInstance('visibile'); + 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('visible'); + } } - } - ) - + ) + } /** * We only remove the things we cloned */