diff --git a/21g30t1e75.js b/21g30t1e75.js index b6b2722..b19410e 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1128,8 +1128,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.mesh = this.createGameMesh(this.materialBreadCorner); - body.mesh.position.x = backup.position.x; - body.mesh.position.y = backup.position.y; + //body.mesh.position.x = backup.position.x; + //body.mesh.position.y = backup.position.y; body.mesh.position.z = 5; body.mesh.updateInstance('position'); @@ -1137,6 +1137,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) { body.mesh.visible = true; body.mesh.updateInstance('visible'); + + body.applyToMesh(); } this.explode(body.position);