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

beta.r3js.org
-=yb4f310 2018-03-19 10:41:19 +01:00
parent c985b928a0
commit 6373fcfcd4
1 changed files with 3 additions and 3 deletions

View File

@ -285,7 +285,9 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
body.mesh.visible = true;
body.mesh.updateInstance('visible');
}
body.mesh.updateInstance('position');
}
if (
body.orientation !== temp.orientation
@ -296,8 +298,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
* Our orientation changed - we should make a corner
*/
body.backupMesh = body.mesh;
body.backupMesh.updateInstance('position');
body.backupMesh.visible = false;