Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 8 bytes modified
parent
e42c8bf21b
commit
2fff3a0272
|
@ -967,6 +967,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
* Update the grid with our new body
|
* Update the grid with our new body
|
||||||
*/
|
*/
|
||||||
this.grid[body.position.x][body.position.y] = body;
|
this.grid[body.position.x][body.position.y] = body;
|
||||||
|
}
|
||||||
|
|
||||||
if (body.backupMesh) {
|
if (body.backupMesh) {
|
||||||
/**
|
/**
|
||||||
|
@ -990,8 +991,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
body.mesh.updateInstance('position');
|
body.mesh.updateInstance('position');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (backup.orientation !== temp.orientation) {
|
if (backup.orientation !== temp.orientation) {
|
||||||
|
|
||||||
// if ((index ) < this.snake.length) {
|
// if ((index ) < this.snake.length) {
|
||||||
|
|
Loading…
Reference in New Issue