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

beta.r3js.org
-=yb4f310 2018-03-22 19:23:28 +01:00
parent e42c8bf21b
commit 2fff3a0272
1 changed files with 12 additions and 13 deletions

View File

@ -967,6 +967,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
* Update the grid with our new body
*/
this.grid[body.position.x][body.position.y] = body;
}
if (body.backupMesh) {
/**
@ -990,8 +991,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
body.mesh.updateInstance('position');
}
}
if (backup.orientation !== temp.orientation) {
// if ((index ) < this.snake.length) {