Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 28 bytes modified
parent
b722e91dbd
commit
9e8b308b2c
|
@ -266,7 +266,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
body.orientation = backup.orientation;
|
||||
body.flip = backup.flip;
|
||||
|
||||
backup = temp;
|
||||
|
||||
|
||||
if (body.backupMesh) {
|
||||
/**
|
||||
|
@ -297,7 +297,9 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
if ((index + 1) < this.snake.length) {
|
||||
/**
|
||||
* Our orientation changed - we should make a corner
|
||||
*/
|
||||
*/
|
||||
|
||||
|
||||
body.applyToMesh();
|
||||
|
||||
body.backupMesh = body.mesh;
|
||||
|
@ -310,6 +312,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
backup = temp;
|
||||
}
|
||||
|
||||
body.applyToMesh();
|
||||
|
|
Loading…
Reference in New Issue