Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 71 bytes modified

beta.r3js.org
-=yb4f310 2018-03-19 09:22:10 +01:00
parent ab20d10f9b
commit 44083d53b4
1 changed files with 5 additions and 5 deletions

View File

@ -265,7 +265,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
this.state.orientation
);
//backup.orientation = body.orientation;
}
if (index > 0) {
@ -319,10 +318,11 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
body.backupMesh.updateInstance('visible');
body.mesh = this.meshBreadCorner.clone();
} else {
body.orientation = this.snake[index - 1].orientation;
}
}
}
body.orientation = this.snake[index - 1].orientation;
}
}
body.applyToMesh(this.state.flip);