Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 26 bytes modified

beta.r3js.org
-=yb4f310 2018-03-09 15:34:36 +01:00
parent 89129bf704
commit be340043eb
1 changed files with 2 additions and 2 deletions

View File

@ -128,12 +128,12 @@ GameLib.CustomCode.prototype.advanceCamera = function(delta) {
var modified = false;
if ((this.camera.position.z - this.snail.position.z) > 0.01) {
this.camera.position.z -= delta;
this.camera.position.z -= this.speed * delta;
modified = true;
}
if ((this.snail.position.z - this.camera.position.z) > 0.01) {
this.camera.position.z += delta;
this.camera.position.z += this.speed * delta;
modified = true;
}