diff --git a/78gnds8jrj.js b/78gnds8jrj.js index 859693a..658e877 100644 --- a/78gnds8jrj.js +++ b/78gnds8jrj.js @@ -171,14 +171,14 @@ GameLib.CustomCode.prototype.adjustSnailPosition = function(delta) { var modified = false; if (this.movement.left) { - diff = data.delta * this.speed * 0.01; + diff = delta * this.speed * 0.01; this.snail.position.z -= diff; this.movement.left = false; modified = true; } if (this.movement.right) { - diff = data.delta * this.speed * 0.01; + diff = delta * this.speed * 0.01; this.snail.position.z += diff; this.movement.right = false; modified = true;