diff --git a/21g30t1e75.js b/21g30t1e75.js index 0a67267..ced9ecd 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -923,7 +923,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { this.explode(body.position); break; case GameLib.CustomCode.OBJECT_TYPE_FOOD : - this.extend(gameObject, body.position, body.orientation); + this.extend(gameObject, backup.position, backup.orientation); break; case GameLib.CustomCode.OBJECT_TYPE_POWERUP: this.powerup(gameObject);