From 7609512b702635037fc879bc2bbd789205b56419 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 23 Mar 2018 13:40:53 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 68 bytes modified --- 21g30t1e75.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 :