diff --git a/21g30t1e75.js b/21g30t1e75.js index 8238807..d4db23f 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1139,9 +1139,12 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.mesh.updateInstance('visible'); body.applyToMesh(); - } - this.explode(body.position); + this.explode(backup.position); + + } else { + this.explode(body.position); + } } break; case GameLib.CustomCode.OBJECT_TYPE_FOOD :