Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 10 bytes modified
parent
59b2ef12cf
commit
cd9a63567b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue